SkillAgentSearch skills...

workflow-schema-tuning

Use when modifying `resources/workflow-schema.json` in cc-wf-studio to influence how AI agents generate workflows via the cc-workflow-ai-editor skill. Triggers include "AIが特定のノードタイプを選んでくれない", "ワークフロー生成のバイアスを調整したい", "スキーマの description を変えたい", "新しいノードタイプを追加したい", "嘘の制約がスキーマに混じっていないか確認したい".

Install / Use

npx skills add breaking-brake/cc-wf-studio --skill workflow-schema-tuning

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

86/100

Category

Automation

Supported Platforms

Universal

Our assessment of workflow-schema-tuning

workflow-schema-tuning scores 86/100 on our quality scale, 1055th of 1,985 Automation skills we index.

Its SKILL.md is 5.3 KB long, split into 7 sections with 1 code example: a solid amount of guidance for an agent.

With 5,390 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
15/20
Description
15/15
Adoption
16/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated 7 days ago, so workflow-schema-tuning is actively maintained.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-09-28. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

workflow-schema-tuning compared with similar skills

All 4 of these similar skills score higher than workflow-schema-tuning; compare them before choosing.

SkillScoreStarsUpdatedFormat
workflow-schema-tuning (this skill)by breaking-brake865.4k7d agoSKILL.md
Agent-Reachby Panniantong10085.9k12d agoCLAUDE.md
rufloby ruvnet10073.4ktodayCLAUDE.md
Scraplingby D4Vinci10084.2ktodayMCP Server
algorithmic-artby anthropics100177.9k5d agoSKILL.md

Frequently asked questions

How do I install workflow-schema-tuning?
Run npx skills add breaking-brake/cc-wf-studio --skill workflow-schema-tuning. The install tabs above show the steps for each supported agent.
Which AI agents does workflow-schema-tuning work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is workflow-schema-tuning safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is workflow-schema-tuning still maintained?
The repository was last updated 7 days ago, so workflow-schema-tuning is actively maintained.

name: workflow-schema-tuning description: Use when modifying resources/workflow-schema.json in cc-wf-studio to influence how AI agents generate workflows via the cc-workflow-ai-editor skill. Triggers include "AIが特定のノードタイプを選んでくれない", "ワークフロー生成のバイアスを調整したい", "スキーマの description を変えたい", "新しいノードタイプを追加したい", "嘘の制約がスキーマに混じっていないか確認したい". Covers what the schema actually does (instructions to AI, not runtime constraints), the design philosophy (align direction, do not prescribe rules), the build pipeline (.json → .toon auto-generated), and known bias sources to audit.

Workflow Schema Tuning

The schema (resources/workflow-schema.json) is the primary spec delivered to the AI editor at runtime via the get_workflow_schema MCP tool. It is not a runtime validator — the runtime barely validates anything. Whatever the schema says, the AI believes. Treat schema edits as prompt engineering, not type definitions.

Core principle: align direction, do not prescribe rules

AI agents already know how to choose between node types intuitively (e.g., when to delegate to a sub-agent vs. handle in-context). The fix for bad output is almost never "add more rules" — it is "remove what is biasing the AI in the wrong direction."

Defaults:

  • Prefer minimal description text that states each node's positional role (立ち位置). Example: "A step executed by the main orchestrating agent" vs. "A step executed by an isolated sub-agent." The contrast does the work.
  • Avoid aiGenerationGuidance lists of "when to use / when not to use / anti-patterns." They treat the AI as a rules engine, bloat tokens, and fail on unanticipated cases.
  • Test minimal first. Only add guidance after a concrete failure where the minimal change is provably insufficient.

Anti-pattern: writing detailed upgradeToSubAgentWhen / stayInPromptWhen lists. If you find yourself writing 3+ bullets explaining when to use a node, the description itself is probably wrong.

Schema architecture

| File | Role | Editable? | |---|---|---| | resources/workflow-schema.json | Single source of truth | YES | | resources/workflow-schema.toon | Token-efficient format consumed by AI via MCP | NO — auto-generated | | resources/ai-editing-skill-template.md | Skill template loaded at AI editor launch | YES | | scripts/generate-toon-schema.ts | TOON generator | YES (rare) |

After editing .json, regenerate .toon:

npm run generate:toon

The full build (npm run build) does this automatically as the first step.

Where biases hide (audit checklist)

When the AI consistently picks the wrong node type, look here in priority order:

  1. ai-editing-skill-template.md step 4 — strongest pull. A line like "use built-in sub-agents by default" overrides every other signal in the schema. Keep this neutral.
  2. nodeTypes.<type>.description — the AI's first impression of what each node means. Keep terse, contrastive, role-focused.
  3. nodeTypes.<type>.aiGenerationGuidance — when present, this is read closely. Audit for stale "default" framings or anti-patterns that no longer apply.
  4. examples[] — the AI learns strongly from examples. If every example uses one node type, expect that node to dominate output.
  5. Top-level constraints (connections.overview.forbidden, exportValidationRules, postGenerationChecklist) — these can encode false constraints (e.g., "no cycles allowed" when the runtime allows them, since the runtime is an AI that uses judgment, not a deterministic executor). Removing false constraints is itself a valid improvement.

Workflow for making changes

  1. Diagnose: identify the symptom (wrong node type chosen, false constraint cited in AI's reasoning, etc.).
  2. Locate the bias: walk the audit checklist above. Look for a single source pulling the AI in the wrong direction before adding new content.
  3. Minimal edit: prefer removing biased text or fixing one description over adding new sections.
  4. Regenerate TOON: npm run generate:toon.
  5. Validate: npm run check && npm run build.
  6. Test: npm run debug launches a fresh Extension Development Host. Trigger the AI editor with a node-type-agnostic prompt (no hints like "use a sub-agent for X") and inspect the generated workflow.
  7. Iterate: if the minimal change is insufficient, add the smallest additional signal — not a guidance section.

Important constraints

  • The framework is multi-agent (Claude Code, Codex, "other"). Schema text must be agent-agnostic. Avoid Claude-specific phrasing like "isolated Claude session" — use "isolated AI agent session" or "isolated sub-agent."
  • The runtime is an AI agent making judgments, not a deterministic program. Constraints that make sense in code (no cycles, no infinite loops) often do not apply here. Verify before transcribing programming-style constraints.
  • After generate:toon, confirm the change took effect by grepping the relevant string in workflow-schema.toon. The MCP delivers TOON, not JSON.

Commit conventions for schema changes

Per the project's conventional commit policy:

  • Description fixes / bias removal → improvement: (patch bump)
  • Build/tooling-only changes → chore: (no release)
  • Keep subjects ≤50 chars, body 3–5 bullets, "what changed" only
  • Split unrelated concerns into separate commits to make diffs reviewable

Related Skills

View on GitHub
GitHub Stars5.4k
CategoryAutomation
Updated7d ago
Forks571

Languages

TypeScript

Trust signals

88/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium