CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .claude/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Type this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a codex
Project install goes to .agents/skills/; add -g for ~/.codex/skills/.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .agents/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a cursor
Project install goes to .agents/skills/; add -g for ~/.cursor/skills/.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .cursor/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a gemini-cli
Project install goes to .agents/skills/; add -g for ~/.gemini/skills/.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .gemini/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Installs for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a github-copilot
Project install goes to .agents/skills/; add -g for ~/.copilot/skills/.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .github/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
skills CLI
$ npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a opencode
OpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
Install the "ccw-cli-tools" agent skill from https://github.com/catlog22/Claude-Code-Workflow/tree/main/.codex/skills/ccw-cli-tools into .opencode/skills/ccw-cli-tools/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ccw-cli-tools", then confirm the skill loads.
OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
Facts
Skill name
ccw-cli-tools
GitHub stars
2.1k
Used in
1 other repo
Token cost
~5.1k tokens
SKILL.md length
1,404 words
Files
1
Skills in repo
82
Repo updated
First seen
Licence
MIT
At a glance
CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks.
Works in 3 steps: Check if configuration exists in memory → Parse the JSON to understand → Use configuration throughout the…
Code analysis and implementation tasks
SKILL.md covers Initialization (Required First…, Process Flow, Configuration Reference and Universal Prompt Template, plus 4 more sections
Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
What it does
Ccw CLI Tools is an agent skill from catlog22/Claude-Code-Workflow. CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks. Supports configurable CLI endpoints for analysis, write, and review modes.
Its SKILL.md is about 5.1k 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 AI & LLM Engineering, covering Prompt engineering. It works with Qwen. The repository describes itself as: JSON-driven multi-agent cadence-team development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution. The licence is MIT.
When your agent uses it
Code analysis and implementation tasks
Tasks that involve Prompt engineering
Example prompts
“/ccw-cli-tools”
Workflow steps
3 steps, taken from the first numbered list in SKILL.md.
1Check if configuration exists in memory
2Parse the JSON to understand
3Use configuration throughout the selection process
What it can do on your machine
Read from SKILL.md and the folder at commit 07491b0. 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 (its code samples are bash).
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
Ccw CLI Tools loads about 5.1k tokens when it runs. Until then it costs about 68 tokens; SKILL.md has 1,404 words of instructions outside code blocks.
Always· name and description, kept in context so the agent knows when to use it
~68
When it runs· the whole SKILL.md, loaded when a task matches
~5.1k
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.
Download SKILL.mdSave it as .claude/skills/ccw-cli-tools/SKILL.md (or your agent's skills folder).
name
ccw-cli-tools
description
CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks. Supports configurable CLI endpoints for analysis, write, and review modes.
version
1.0.0
CLI Tools - Unified Execution Framework
Purpose: Structured CLI tool usage with configuration-driven tool selection, unified prompt templates, and quality-gated execution.
Configuration: ~/.claude/cli-tools.json (Global, always read at initialization)
Initialization (Required First Step)
Before any tool selection or recommendation:
Check if configuration exists in memory:
If configuration is already in conversation memory → Use it directly
If NOT in memory → Read the configuration file:bash
Read(file_path="~/.claude/cli-tools.json")
Parse the JSON to understand:
Available tools and their enabled status
Each tool's primaryModel and secondaryModel
Tags defined for tag-based routing
Tool types (builtin, cli-wrapper, api-endpoint)
Use configuration throughout the selection process
Why: Tools, models, and tags may change. Configuration file is the single source of truth.
Optimization: Reuse in-memory configuration to avoid redundant file reads.
Process Flow
┌─ USER REQUEST
│
├─ STEP 1: Load Configuration
│ ├─ Check if configuration exists in conversation memory
│ └─ If NOT in memory → Read(file_path="~/.claude/cli-tools.json")
│
├─ STEP 2: Understand User Intent
│ ├─ Parse task type (analysis, implementation, security, etc.)
│ ├─ Extract required capabilities (tags)
│ └─ Identify scope (files, modules)
│
├─ STEP 3: Select Tool (based on config)
│ ├─ Explicit --tool specified?
│ │ YES → Validate in config → Use it
│ │ NO → Match tags with enabled tools → Select best match
│ │ → No match → Use first enabled tool (default)
│ └─ Get primaryModel from config
│
├─ STEP 4: Build Prompt
│ └─ Use 6-field template: PURPOSE, TASK, MODE, CONTEXT, EXPECTED, CONSTRAINTS
│
├─ STEP 5: Select Rule Template
│ ├─ Determine rule from task type
│ └─ Pass via --rule parameter
│
├─ STEP 6: Execute CLI Command
│ └─ ccw cli -p "<PROMPT>" --tool <tool> --mode <mode> --rule <rule>
│
└─ STEP 7: Handle Results
├─ On success → Deliver output to user
└─ On failure → Check secondaryModel or fallback tool
PURPOSE: Identify OWASP Top 10 vulnerabilities in auth module to pass security audit;
success = all critical/high issues documented with remediation;
scope = src/auth/** only
Example - Bad:
PURPOSE: Analyze code
TASK (Action Steps)
What: Specific, actionable steps with clear verbs and targets
Format: Bullet list with concrete actions
Example - Good:
TASK:
• Scan for SQL injection in query builders
• Check XSS in template rendering
• Verify CSRF token validation
Example - Bad:
TASK: Review code and find issues
MODE (Permission Level)
Options:
analysis - Read-only, safe for auto-execution
write - Create/Modify/Delete files, full operations
review - Git-aware code review (codex only)
Rules:
Always specify explicitly
Default to analysis for read-only tasks
Require explicit --mode write for file modifications
Use --mode review with --tool codex for git-aware review
Memory: Building on auth refactoring (commit abc123), using JWT for sessions
Memory: Integration with auth module, shared error patterns from @shared/utils/errors.ts
EXPECTED (Output Specification)
What: Output format + quality criteria + structure requirements
ccw cli -p "PURPOSE: Identify OWASP Top 10 vulnerabilities in authentication module to pass security audit; success = all critical/high issues documented with remediation
TASK: • Scan for injection flaws (SQL, command, LDAP) • Check authentication bypass vectors • Evaluate session management • Assess sensitive data exposure
MODE: analysis
CONTEXT: @src/auth/**/* @src/middleware/auth.ts | Memory: Using bcrypt for passwords, JWT for sessions
EXPECTED: Security report with: severity matrix, file:line references, CVE mappings where applicable, remediation code snippets prioritized by risk
CONSTRAINTS: Focus on authentication | Ignore test files
" --tool gemini --mode analysis --rule analysis-assess-security-risks --cd src/auth
Example 2: Feature Implementation (Write Mode)
bash
ccw cli -p "PURPOSE: Implement rate limiting for API endpoints to prevent abuse; must be configurable per-endpoint; backward compatible with existing clients
TASK: • Create rate limiter middleware with sliding window • Implement per-route configuration • Add Redis backend for distributed state • Include bypass for internal services
MODE: write
CONTEXT: @src/middleware/**/* @src/config/**/* | Memory: Using Express.js, Redis already configured, existing middleware pattern in auth.ts
EXPECTED: Production-ready code with: TypeScript types, unit tests, integration test, configuration example, migration guide
CONSTRAINTS: Follow existing middleware patterns | No breaking changes
" --tool gemini --mode write --rule development-implement-feature
Example 3: Bug Root Cause Analysis
bash
ccw cli -p "PURPOSE: Fix memory leak in WebSocket connection handler causing server OOM after 24h; root cause must be identified before any fix
TASK: • Trace connection lifecycle from open to close • Identify event listener accumulation • Check cleanup on disconnect • Verify garbage collection eligibility
MODE: analysis
CONTEXT: @src/websocket/**/* @src/services/connection-manager.ts | Memory: Using ws library, ~5000 concurrent connections in production
EXPECTED: Root cause analysis with: memory profile, leak source (file:line), fix recommendation with code, verification steps
CONSTRAINTS: Focus on resource cleanup
" --tool gemini --mode analysis --rule analysis-diagnose-bug-root-cause --cd src
Example 4: Code Review (Codex Review Mode)
bash
# Option 1: Custom focus (reviews uncommitted by default)
ccw cli -p "Focus on security vulnerabilities and error handling" --tool codex --mode review
# Option 2: Target flag only (no prompt with target flags)
ccw cli --tool codex --mode review --uncommitted
ccw cli --tool codex --mode review --base main
ccw cli --tool codex --mode review --commit abc123
Select model → Use primaryModel, fallback to secondaryModel
Selection Decision Tree
0. LOAD CONFIGURATION (memory-first)
├─ In memory? → Use it
└─ Not in memory? → Read ~/.claude/cli-tools.json
↓
1. Explicit --tool specified?
YES → Validate tool is enabled in config → Use it
NO → Proceed to tag-based selection
├─ Extract task tags (security, analysis, implementation, etc.)
│ ├─ Find tools with matching tags
│ │ ├─ Multiple matches? Use first enabled
│ │ └─ Single match? Use it
│ └─ No tag match? Use default tool
│
└─ Default: Use first enabled tool in config
Common Tag Routing
Note: Match task type to tags defined in ~/.claude/cli-tools.json
Task Type
Common Tags to Match
Security audit
分析, analysis, security
Bug diagnosis
Debug, 分析, analysis
Implementation
implementation, (any enabled tool)
Testing
testing, (any enabled tool)
Refactoring
refactoring, (any enabled tool)
Documentation
documentation, (any enabled tool)
Selection Logic: Find tools where tags array contains matching keywords, otherwise use first enabled tool.
Fallback Chain
When primary tool fails (based on ~/.claude/cli-tools.json configuration):
Check secondaryModel for same tool (use secondaryModel from config)
Try next enabled tool with matching tags (scan config for enabled tools)
Fall back to default enabled tool (first enabled tool in config)
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in catlog22/Claude-Code-Workflow, which our catalogue first saw on October 7, 2026.
Ccw CLI Tools 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.
Ccw CLI Tools compared with similar skills
Skill
Stars
Used in
Tokens
Auto-check
Licence
Repo updated
Ccw CLI Tools this skillcatlog22/Claude-Code-Workflow
把基于 prompts/ 主源的 skill 打包成断网单机可用的离线提示词包。Use when the user wants to export/package offline prompts for disconnected hosts (WebUI、Qwen、AnythingLLM、Claude.ai), generate self-contained systemprompt /…
Unified brainstorming skill with dual-mode operation — auto mode (framework generation, parallel multi-role analysis, cross-role synthesis) and single role analysis.
CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks. Ccw CLI Tools is an agent skill from catlog22/Claude-Code-Workflow. CLI tools execution specification (gemini/claude/codex/qwen/opencode) with unified prompt template, mode options, and auto-invoke triggers for code analysis and implementation tasks.
When should I use Ccw CLI Tools?
Ccw CLI Tools fits situations like: code analysis and implementation tasks; tasks that involve Prompt engineering.
How do I install Ccw CLI Tools in Claude Code?
Run `npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a claude-code`. Or copy the skill folder (.codex/skills/ccw-cli-tools in catlog22/Claude-Code-Workflow) into .claude/skills/ccw-cli-tools in your project. Claude Code loads it when a task matches its description.
How do I install Ccw CLI Tools in Codex?
Run `npx skills add catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a codex`. Or copy the skill folder (.codex/skills/ccw-cli-tools in catlog22/Claude-Code-Workflow) into .agents/skills/ccw-cli-tools in your project. Codex loads it when a task matches its description.
Can I use Ccw CLI Tools 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 catlog22/Claude-Code-Workflow --skill ccw-cli-tools -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ccw-cli-tools, .gemini/skills/ccw-cli-tools, .github/skills/ccw-cli-tools and .opencode/skills/ccw-cli-tools in your project.
What does Ccw CLI Tools need to run?
SKILL.md names no scripts, command-line tools or credentials: Ccw CLI Tools is instructions for the agent only.
Does Ccw CLI Tools 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 Ccw CLI Tools 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 Ccw CLI Tools use?
Ccw CLI Tools is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
How many tokens does Ccw CLI Tools use?
About 5.1k tokens (SKILL.md is roughly 20k 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 Ccw CLI Tools?
Skills that share tags, products or a category with Ccw CLI Tools: Offline Prompt Packager (zhaohui-yang/official-document-drafting, 139 stars), Qwen Image Edit (artokun/comfyui-mcp, 793 stars), Flux2 Klein Prompting (AnastasiyaW/codex-claude-code-config, 154 stars) and Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Who maintains Ccw CLI Tools?
catlog22 (a GitHub user) maintains it in catlog22/Claude-Code-Workflow, which has 2,130 GitHub stars. The repository holds 82 skills in this directory. The repository was last updated on June 18, 2026.
Source: catlog22/Claude-Code-Workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.