ai-workflow-kit: Skill for Claude Code

.ai/skills/principal-workflow/SKILL.md

principal-workflow is a skill for Claude Code from silver2dream/ai-workflow-kit. It costs 0 tokens per session (384 once invoked), scanned A, original, Apache-2.0.

A controller workflow for AWK, an automated software-development process, that creates work, dispatches workers, checks results, reviews pull requests, and handles conflicts.

In plain words
What is it for?
Use it to start or continue an AWK session, generate tasks, dispatch workers, review pull requests, or resolve workflow states.
Why use it?
It coordinates the stages of automated development so work can move from task creation through review and merging.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

This is silver2dream/ai-workflow-kit's own configuration. It tells Claude Code how to work on ai-workflow-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-workflow-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to silver2dream/ai-workflow-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/silver2dream/ai-workflow-kit/main/.ai/skills/principal-workflow/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/silver2dream/ai-workflow-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for principal-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/silver2dream/ai-workflow-kit/principal-workflow/github.svg)](https://agentmods.dev/skills/silver2dream/ai-workflow-kit/principal-workflow)
Your own site
<a href="https://agentmods.dev/skills/silver2dream/ai-workflow-kit/principal-workflow"><img src="https://agentmods.dev/badge/skills/silver2dream/ai-workflow-kit/principal-workflow/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for principal-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/silver2dream/ai-workflow-kit/principal-workflow"><img src="https://agentmods.dev/badge/skills/silver2dream/ai-workflow-kit/principal-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00384
Opus 5.5 $0.00000 $0.00154
Sonnet 5.5 $0.00000 $0.00077
Haiku 4.5 $0.00000 $0.00038

Measured 2mo ago against content hash 60ebf4704aa5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

principal-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.ai/skills/principal-workflow/SKILL.md · 40 lines

What it actually says

Principal Workflow

AWK 自動化工作流的主控 Skill。

前提

Preflight 已由 awkit kickoff 完成,Session 已初始化。

啟動

必須 Read phases/main-loop.md 並進入主循環。

Phase 參考表

Phase 檔案 說明
phases/main-loop.md 主循環:決策路由 + loop safety + context management
phases/dispatch.md dispatch_worker:命令格式、merge_issue 檢查、行為規範、結果處理
phases/review.md review_pr:Task tool 調用 pr-reviewer subagent
phases/conflict-resolution.md needs_conflict_resolution:Task tool 調用 conflict-resolver subagent
Task 檔案 說明
tasks/generate-tasks.md 任務生成(Epic 或 tasks.md 模式)
tasks/create-task.md Issue 創建
tasks/audit-epic-review.md Epic 審計結果審查

自我檢查

每進入一個 Phase 或執行一個 Task,輸出:

[PRINCIPAL] <timestamp> | <phase/task> | loaded: <filename>
Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 40 lines · 0 tokens per session scan A 60ebf4704aa5

Subscribe to this mod's changes

principal-workflow is a skill published in the GitHub repository silver2dream/ai-workflow-kit (2 stars, last pushed 1mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 384 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.