본문으로 건너뛰기
cccskills
무료GitHub에 공개

openwork-models

Manage the AI models offered through OpenWork, including model additions, removals, aliases, and pricing discounts. Validate configuration consistency and trigger the GitHub workflow that refreshes models from models.dev, then report its merge or failure result.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Manage OpenWork inference model aliases, openwork model overlays, discounts, validation, and automated base model refreshes from models.dev. Use when adding, removing, discounting, auditing, or updating OpenWork models, including requests like "update the models" that should trigger the GitHub update-models workflow and report when its PR merges.

연동 도구GitHub
설치 방법 보기

이럴 때 유용합니다

  • Adding or removing models offered through OpenWork
  • Changing the charged price fraction for specific models
  • Checking consistency between model lists and aliases
  • Refreshing model data from models.dev and tracking the result

포함된 파일(4)

  • SKILL.md4.4 KB
  • scripts/extract-source-models.mjs2.1 KB
  • scripts/openwork-models.mjs8.2 KB
  • scripts/trigger-update-workflow.mjs4.4 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

OpenWork Models

Use this skill for OpenWork inference model changes. The source of truth for available upstream models is:

  • ee/apps/gateway/src/models/base.json
  • provider key: openrouter
  • model map: openrouter.models

The editable OpenWork model list is:

  • ee/apps/gateway/src/models/openwork-models.json

Managed file:

  • packages/types/src/den/inference.ts

ee/apps/gateway/scripts/build-models.mjs reads openwork-models.json and generates the OpenWork provider overlay in memory. It selects the API URL from OPENWORK_DEV_MODE: dev uses http://127.0.0.1:8791/api/v1, otherwise prod uses https://inference.openworklabs.com/api/v1.

Do not inspect the full base.json in chat. Use the scripts so the large source model body stays out of context.

Scripts

Extract/search source models into a temp file:

node .opencode/skills/openwork-models/scripts/extract-source-models.mjs
node .opencode/skills/openwork-models/scripts/extract-source-models.mjs --query "zai 5.1"

Manage OpenWork models:

node .opencode/skills/openwork-models/scripts/openwork-models.mjs search "zai 5.1"
node .opencode/skills/openwork-models/scripts/openwork-models.mjs add "z-ai/glm-5.1"
node .opencode/skills/openwork-models/scripts/openwork-models.mjs remove "z-ai/glm-5.1"
node .opencode/skills/openwork-models/scripts/openwork-models.mjs discount 0.1 "z-ai/glm-5.1"
node .opencode/skills/openwork-models/scripts/openwork-models.mjs sync
node .opencode/skills/openwork-models/scripts/openwork-models.mjs validate

Trigger the remote base model refresh workflow:

node .opencode/skills/openwork-models/scripts/trigger-update-workflow.mjs
node .opencode/skills/openwork-models/scripts/trigger-update-workflow.mjs --base dev --ref dev

Update Models Workflow

When the user asks to update/refresh/sync the models from models.dev, do not edit base.json manually. Trigger .github/workflows/update-models.yml and wait for the result:

node .opencode/skills/openwork-models/scripts/trigger-update-workflow.mjs

The script dispatches the manual workflow, watches the run, finds the automation PR, waits until auto-merge completes, and prints the merged PR URL. If the workflow finds no model changes, report that no PR was created and include the workflow run URL. If the workflow or PR fails/closes unmerged, report that failure with the run/PR URL.

Add Workflow

  1. Run extract-source-models.mjs --query "<user text>" or openwork-models.mjs search "<user text>".
  2. If there is no good match, ask the user for clarification.
  3. If there are multiple plausible matches, list the matching IDs and ask which one(s) to add.
  4. Once exact IDs are known, run openwork-models.mjs add "<id>" for each ID. The script copies the full model block from openrouter.models, adds it to openwork-models.json, syncs aliases, and validates.

New aliases use:

"model/id": {
  upstreamModel: "model/id",
  displayName: "OpenWork: " + model.name,
  enabled: true,
  usageFactor: 1,
}

Preserve existing usageFactor values when syncing. New models default to 1.

Remove Workflow

  1. Resolve exact IDs with search if needed.
  2. Run openwork-models.mjs remove "<id>".
  3. The script removes the model from openwork-models.json, removes the alias by regenerating the alias map from the model list, and validates.

Discount Workflow

A usage factor is the charged fraction of normal price:

  • 1 means 100% price.
  • 0.1 means 10% price, a 90% discount.

Always clarify exact model IDs before changing discounts, especially if the user provides a partial string or asks for multiple models. Then run:

node .opencode/skills/openwork-models/scripts/openwork-models.mjs discount <factor> "<id>" ["<id2>"]

Validation

Before finishing, run:

node .opencode/skills/openwork-models/scripts/openwork-models.mjs validate
node ee/apps/gateway/scripts/build-models.mjs

Validation checks JSON validity, OpenWork model ID consistency, and alias coverage in INFERENCE_MODEL_ALIASES.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Manage OpenWork feature releases with feature flags, switches that control access to new behavior. Register features before coding, release them by organization and deployment, prepare a global shutdown option, and remove temporary flags after rollout.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Registering a feature before implementation
  • Releasing a feature to selected organizations
  • Separating cloud and self-hosted availability
different-ai/openwork2.4만2026년 10월 18일 업데이트

Connect OpenCode browser tools to a locally running OpenWork Electron app to inspect its UI, enter a task, and check the response. This skill supports exploration and debugging through CDP, Chrome's remote control protocol.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connecting browser tools to a local Electron development app
  • Inspecting screen state during debugging
  • Entering a task in the composer and running it
different-ai/openwork2.4만2026년 10월 18일 업데이트

Check added lines in a change for information identifying customers, prospects, partners, or outside individuals. Report locations and generic remediation without reproducing identities, and escalate cases where the information is already public.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Checking changes for customer and partner identities
  • Reviewing documents and test data for identifying details
  • Reporting disclosure locations without repeating identities
different-ai/openwork2.4만2026년 10월 18일 업데이트

Connects supported AI clients, including Claude Code and Codex, to OpenWork through MCP, a protocol for accessing external tools. It guides account sign-in and verifies that tools for finding and running organization capabilities are available.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connecting an AI client to OpenWork organization resources
  • Signing in and verifying available MCP tools
  • Switching organizations or troubleshooting authentication
different-ai/openwork2.4만2026년 10월 18일 업데이트

Review an outside contributor’s pull request before running its code. Identify concealed behavior, obfuscated code, risky dependencies, and build hooks, with file locations and specific checks for maintainers to follow up.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Screening an outside contributor’s pull request before execution
  • Checking encoded code and unexplained network calls
  • Reviewing dependency changes and installation scripts
different-ai/openwork2.4만2026년 10월 18일 업데이트

Create an OpenCode plugin for OpenWork with custom tools and hooks, which run code at specific events. The skill builds the plugin file and adds its entry to the project configuration.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding custom tools to OpenWork
  • Creating a plugin to save and list notes
  • Running custom code before or after tool execution
different-ai/openwork2.4만2026년 10월 18일 업데이트

different-ai의 스킬 모두 보기

이 스킬의 문제 신고