跳到正文
cccskills
免费在 GitHub 公开

audit-context

Evaluates ambient context artifacts (CLAUDE.md, memory, local skills, settings hooks) for compatibility with swarm governance. Returns a classified report so users can address interference before launching a team.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md5.5 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Audit Context

Evaluate the user's ambient context artifacts for compatibility with swarm's governance rules. You are a read-only diagnostic — never modify any files.

What to scan

  1. CLAUDE.md files. Read the project's CLAUDE.md (working directory root). If .claude/CLAUDE.md exists, read that too. Also check ~/.claude/CLAUDE.md (global config) — it loads into every session.
  2. Memory files. Find the project memory path by checking ~/.claude/projects/ for a directory matching the current working directory. Claude Code dash-encodes the project path (e.g., /Users/foo/my-project becomes -Users-foo-my-project). If a memory/MEMORY.md index exists, read it and follow links to individual memory files.
  3. Local skills and commands. List .claude/skills/ and .claude/commands/ in the project directory. Flag any skill whose name matches a swarm built-in: suggest-members, define-rubric, resolve-dispute, writing-style, reflect-outcome, independent-review-loop, code-mode, triage-mode, writing-mode, general-mode, workflow-rules, audit-context.
  4. Settings hooks. Check both .claude/settings.json (project) and ~/.claude/settings.json (global) for a hooks section. Flag any hook that intercepts tools used by swarm (the Agent tool, SendMessage, or CronCreate).

How to classify

For each artifact, classify as one of three categories:

  • Complementary — Does not conflict with any swarm rule. Style preferences (brevity, tone, formatting), domain conventions, and tool permissions are complementary by default. No action needed.
  • Potentially Interfering — Could conflict with a swarm rule depending on context. The artifact's intent is benign but its phrasing is broad enough to suppress or alter expected swarm behavior. Worth reviewing.
  • Conflicting — Directly contradicts a named swarm governance rule. Will likely cause unexpected behavior during a team run. Should be addressed before launching.

Swarm governance rules to evaluate against

These are the rules that matter for interference detection:

Workflow control

  • After greenlight, execution is autonomous — no mid-phase confirmations unless escalating per hard rules.
  • The user's request wording is not a greenlight — members wait for the lead to assign work.
  • Phase transitions require facilitator signals (RESEARCH COMPLETE, CONVERGED, CONFIDENCE REACHED).
  • Final delivery requires explicit user sign-off.

Communication

  • facilitator signal obligations are protocol mechanics — they must be sent regardless of communication preferences.
  • Favor brevity during roundtables. No idle chatter.
  • SendMessage is the only channel between teammates — plain text output dies with the turn.

Execution

  • All members except the lead are read-only.
  • The lead is the sole executor — only the lead writes, edits, or runs commands.
  • No code changes during review rounds.
  • Wait for ALL reviews before making changes.

Team structure

  • Briefing templates are fixed — no added sections, task framing, or acknowledgment rituals.
  • Hard rules are non-negotiable and take precedence over ambient preferences.

Common interference patterns

Flag these specific patterns when you encounter them:

PatternExampleClassificationConflicting rule
Confirmation injection"Always confirm before editing"ConflictingAutonomous post-greenlight execution
Auto-commit/push"Commit after completing work"ConflictingFinal delivery requires user approval
Silence preferences"Don't repeat yourself", "Stay silent while waiting"Potentially Interferingfacilitator signal obligations
Verbosity injection"Explain your reasoning step by step"Potentially InterferingFavor brevity during roundtables
Methodology injection"Always use TDD", "Write tests first"Potentially InterferingPhase arc is defined by mode skill
Tool restrictions"Don't spawn agents", "Never spawn subagents"ConflictingCreate the team per Step 8a
Briefing expansion"Add detailed context to all briefs"ConflictingBriefing templates are fixed
Skill name collisionLocal suggest-members skillConflictingShadows swarm built-in
Hook tool interceptionHook that blocks the Agent tool or SendMessageConflictingTeam creation and communication require these tools

Output format

Present findings as a structured report grouped by source:

## Audit Results

### CLAUDE.md — [path]
- [excerpt] — **[Classification]** — conflicts with: [rule name]. [One-line recommendation.]

### Memory — [path]
- [excerpt] — **[Classification]** — conflicts with: [rule name]. [One-line recommendation.]

### Local Skills / Commands
- [name] — **[Classification]** — [reason]. [One-line recommendation.]

### Settings Hooks — .claude/settings.json
- [hook name / tool target] — **[Classification]** — [reason]. [One-line recommendation.]

### Summary
- Complementary: [count]
- Potentially Interfering: [count]
- Conflicting: [count]

If no artifacts are found, say so. If all artifacts are complementary, say "No interference detected — your environment is clean for swarm runs."

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

code-mode

免费

Code mode operational spec for the team lead. Returns lead identity, facilitator identity, mode-specific rules, suggest-members guidance, and phase arc for code-mode teams.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

Builds measurable validation criteria when no existing standards apply. Invoked by team agents during review.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

Returns the frozen gate constants — question, header, option labels and descriptions, digest field-list, and preview content — for every catalog gate. Invoked by the team lead fresh on arrival at each gate and on pulse re-emissions, in the same turn as the render. The transport contract, three renders, partition rule, and authoring rubric live in swarm:workflow-rules.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

General mode operational spec for the team lead. Returns lead identity, facilitator identity, suggest-members guidance, and phase arc for general-purpose teams. The silent fallback when outcomes fit no specific mode, and a wrapper base for custom workflows — it has no shortcut command.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

Independent review loop run before delivery in code work. An independent reviewer (Codex, or fresh Codex-style subagents) reads the whole PR against the approved outcome; the lead fixes in-scope functional findings and re-reviews until none remain. Its differentiator is independence and exhaustiveness — a reviewer that fails differently from the authors, run to clean — distinct from the recursive-refinement ladder. Invoked by the team lead from the unified pre-ship gate (code-mode and /swarm:refine) after the ship steps.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

Detects when a stated outcome names a specific instance — a mechanism-as-means or a single named product — where a category was meant, and returns a neutral fork for the lead to show the user, or nothing. Invoked by launch commands at outcome capture, in place of the verbatim echo.

中文简介正在准备中。当前显示原文说明。

DheerG/swarms852026年7月23日 更新

查看 DheerG 的全部技能

报告此技能的问题