Agent skill

Openspec Workflow Router

by HsienW in HsienW/chat-gun

MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context.

Custom licenceAuto-check passedDevelopment

Install Openspec Workflow Router

skills CLI
$ npx skills add HsienW/chat-gun --skill openspec-workflow-router -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install HsienW/chat-gun openspec-workflow-router --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/HsienW/chat-gun.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.qwen/skills/openspec-workflow-router .claude/skills/openspec-workflow-router && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openspec-workflow-router
GitHub stars
143
Token cost
~923 tokens
SKILL.md length
437 words
Files
1
Skills in repo
8
Repo updated
First seen
Licence
Custom licence

At a glance

MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context.

  • Works in 9 steps: Decide whether the request belongs to… → If a change name is known, read only… → Treat currentPhase as the source of… → …
  • Implementation-result
  • SKILL.md covers Task-Start Awareness, Context Policy, Route Table and How To Use
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Openspec Workflow Router is an agent skill from HsienW/chat-gun. MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context. Use for proposal, design, tasks, implementation-result, fix-result, readiness, archive, or CCR/Codex/Qwen handoff review.

Its SKILL.md is about 920 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. It works with Qwen. The repository describes itself as: 🤖 A full-stack Agent Chat Runtime for pre-production validation, built with act, TypeScript, and LangGraph JS combining streaming, multimodal, HITL, and tools with durable…

When your agent uses it

  • Implementation-result
  • CCR/Codex/Qwen handoff review

Example prompts

  • “/openspec-workflow-router”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Decide whether the request belongs to the OpenSpec change lifecycle.
  2. If a change name is known, read only .agent-runtime//current-state.json.
  3. Treat currentPhase as the source of truth and verify currentOwner is Qwen for review work.
  4. Select exactly one stage and read the matching canonical Codex reference.
  5. Read only latestArtifactRefs and current Handoff requiredInputRefs; validate changeId/runId, safe paths, existence, and absence of Secrets.
  6. For review stages, load secondary-architecture-reviewer.
  7. If CurrentState or required evidence is missing, output INCOMPLETE; never initialize or modify state.
  8. If it is not a lifecycle task, keep the context policy below in force and continue with QWEN.md.
  9. Before every write-capable action, verify the active role. A Reviewer must fail closed and emit only findings or a Handoff, even when the…

What it can do on your machine

Read from SKILL.md and the folder at commit 4569cb0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openspec Workflow Router loads about 923 tokens when it runs. Until then it costs about 77 tokens; SKILL.md has 437 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~77
When it runs · the whole SKILL.md, loaded when a task matches
~923

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 437 words (~923 tokens).

“Use this skill as Qwen Code's read-only routing layer for the repository OpenSpec multi-agent workflow.”

— opening of SKILL.md by HsienW, Custom licence
name
openspec-workflow-router

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .qwen/skills/openspec-workflow-router of HsienW/chat-gun.

Open the folder on GitHubat commit 4569cb0

Compare with similar skills

Openspec Workflow Router next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openspec Workflow Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openspec Workflow Router this skillHsienW/chat-gun143—~923Automated safety check: PassCustom licence
Agent Feature ReproductionQwenLM/qwen-code28k—~1.5kAutomated safety check: PassApache-2.0
Deep Reviewdyad-sh/dyad22k—~1.4kAutomated safety check: PassCustom licence
Qwen Code ClawQwenLM/qwen-code28k—~2kAutomated safety check: PassApache-2.0
Fix Art IssuesOpenPipe/ART11k—~840Automated safety check: NotesApache-2.0
Qwen Code Desktop Brand BuilderQwenLM/qwen-code28k—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Reproduces a feature from Codex or Claude Code in Qwen Code by running the reference agent under capture, reading the traces, then implementing matching behavior.

    28k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Deep Review

    dyad-sh/dyad

    Deep multi-agent code review run locally — a fleet of parallel finder agents reviews the diff from independent angles, then adversarial verifier agents reproduce each finding before it is reported.

    22k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Qwen Code Claw

    QwenLM/qwen-code

    Hands coding work such as codebase questions, bug fixes, refactors and PR reviews to the Qwen Code CLI, driven through acpx instead of scraped terminal sessions.

    28k GitHub stars~2k tokensUpdated today
    DevelopmentAuto-check passed
  • Fix Art Issues

    OpenPipe/ART

    Fix a GitHub issue on OpenPipe/ART and open a PR. An agent skill from OpenPipe/ART.

    11k GitHub stars~840 tokensUpdated today
    AI & LLM EngineeringAuto-check: notes
  • Builds a rebranded Qwen Code desktop package from the Tauri shell using only a brand id and a logo, with sensible derived defaults.

    28k GitHub stars~2.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Qwen Agent

    thananon/9arm-skills

    Delegate menial, well-scoped coding tasks to a cheap Qwen-backed subagent via the claude-9arm command instead of burning Claude tokens/quota.

    3.2k GitHub stars~1.5k tokensUpdated 3 mo ago
    DevelopmentAuto-check passed

More from HsienW/chat-gun

All 8 skills in this repo
  • Chat Gun 的前端、OpenSpec、Streaming Event、Tool Renderer、型別邊界、多模態流式鏈路與 React/Vite 編程約束。Use when working on frontend code, tool rendering, streaming contracts, multimodal requests/responses, Weather…

    143 GitHub stars~467 tokensUpdated 4 days ago
    Auto-check passed
  • Node

    HsienW/chat-gun

    Provides domain-specific best practices for Node.js development with TypeScript, covering type stripping, async patterns, error handling, streams, modules, testing, performance, caching, logging…

    143 GitHub stars~1.6k tokensUpdated 4 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Claude Code/CCR coordination tasks without loading unnecessary context.

    143 GitHub stars~939 tokensUpdated 4 days ago
    Auto-check passed
  • MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route it to token-efficient stage prompts.

    143 GitHub stars~907 tokensUpdated 4 days ago
    Auto-check passed
  • 對 OpenSpec、Git Diff、frontend、bff、backend、LangGraph、Tool、MCP 與安全邊界進行獨立唯讀審查,輸出 Blocker、Major、Minor 與標準 Verdict。

    143 GitHub stars~775 tokensUpdated 4 days ago
    Auto-check passed
  • Apply when creating, modifying, refactoring, debugging, testing, or reviewing TypeScript, LangGraph JS, LangChain, provider adapter, tool, MCP, prompt, state, checkpoint, runtime event, or backend…

    143 GitHub stars~2.1k tokensUpdated 4 days ago
    Auto-check passed

Works with

Questions about Openspec Workflow Router

What does Openspec Workflow Router do?

MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context. Openspec Workflow Router is an agent skill from HsienW/chat-gun. MUST be considered at task start in this repository to detect OpenSpec change lifecycle work and route Qwen Code review tasks without loading unnecessary context.

When should I use Openspec Workflow Router?

Openspec Workflow Router fits situations like: implementation-result; CCR/Codex/Qwen handoff review.

How do I install Openspec Workflow Router in Claude Code?

Run `npx skills add HsienW/chat-gun --skill openspec-workflow-router -a claude-code`. Or copy the skill folder (.qwen/skills/openspec-workflow-router in HsienW/chat-gun) into .claude/skills/openspec-workflow-router in your project. Claude Code loads it when a task matches its description.

How do I install Openspec Workflow Router in Codex?

Run `npx skills add HsienW/chat-gun --skill openspec-workflow-router -a codex`. Or copy the skill folder (.qwen/skills/openspec-workflow-router in HsienW/chat-gun) into .agents/skills/openspec-workflow-router in your project. Codex loads it when a task matches its description.

Can I use Openspec Workflow Router in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add HsienW/chat-gun --skill openspec-workflow-router -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openspec-workflow-router, .gemini/skills/openspec-workflow-router, .github/skills/openspec-workflow-router and .opencode/skills/openspec-workflow-router in your project.

What does Openspec Workflow Router need to run?

SKILL.md names no scripts, command-line tools or credentials: Openspec Workflow Router is instructions for the agent only.

Does Openspec Workflow Router access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openspec Workflow Router safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Openspec Workflow Router use?

Openspec Workflow Router has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Openspec Workflow Router use?

About 923 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openspec Workflow Router?

Skills that share tags, products or a category with Openspec Workflow Router: Agent Feature Reproduction (QwenLM/qwen-code, 28k stars), Deep Review (dyad-sh/dyad, 22k stars), Qwen Code Claw (QwenLM/qwen-code, 28k stars) and Fix Art Issues (OpenPipe/ART, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openspec Workflow Router?

HsienW (a GitHub user) maintains it in HsienW/chat-gun, which has 143 GitHub stars. The repository holds 8 skills in this directory. The repository was last updated on October 4, 2026.

Source: HsienW/chat-gun on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.