team-compliance

team-compliance is a skill for Claude Code from ketor/cto-fleet. It costs 141 tokens per session (9,179 once invoked), scanned A, original, Apache-2.0.

A code-focused compliance audit process for checking whether a project meets selected security and privacy controls. Version 1 supports a subset of SOC 2 controls; SOC 2 is a framework organizations use to show that they protect customer data and operate reliable systems.

In plain words
What is it for?
Use it to audit a project against the supported SOC 2 controls, produce a gap-analysis report and remediation plan, and optionally create evidence files. Other listed frameworks are not supported in version 1.
Why use it?
It helps identify missing controls and supporting proof without requiring you to inspect every part of the codebase manually. The result separates gaps from planned fixes.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; built for gstack.

Good fit Use it to audit a project against the supported SOC 2 controls, produce a gap-analysis report and remediation plan, and optionally create evidence files. Other listed frameworks are not supported in version 1.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ketor/cto-fleet/team-compliance
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ketor/cto-fleet --skill team-compliance
Clone the repo
git clone --depth 1 https://github.com/ketor/cto-fleet

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 team-compliance

README.md
[![agentmods](https://agentmods.dev/badge/skills/ketor/cto-fleet/team-compliance/github.svg)](https://agentmods.dev/skills/ketor/cto-fleet/team-compliance)
Your own site
<a href="https://agentmods.dev/skills/ketor/cto-fleet/team-compliance"><img src="https://agentmods.dev/badge/skills/ketor/cto-fleet/team-compliance/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 team-compliance

Your own site · 80×15
<a href="https://agentmods.dev/skills/ketor/cto-fleet/team-compliance"><img src="https://agentmods.dev/badge/skills/ketor/cto-fleet/team-compliance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 141 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,179 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00141 $0.09179
Opus 5 $0.00071 $0.04589
Sonnet 5 $0.00028 $0.01836
Haiku 4.5 $0.00014 $0.00918

Measured 9d ago against content hash 5d41704a9470, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

team-compliance scanned grade A with 1 finding 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 9d 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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- 目录路径:`/tmp/{team-name}/`(team lead 在 TeamCreate 后执行 `mkdir -p /tmp/{team-name} && chmod 700 /tmp/{team-name}`)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

team-compliance/SKILL.md · 609 lines

How it starts

The opening of the file, as written. The whole thing — 609 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Preamble (run first)

_UPD=$(~/.claude/skills/cto-fleet/bin/cto-fleet-update-check 2>/dev/null || true)
[ -n "$_UPD" ] && echo "$_UPD" || true

If output shows UPGRADE_AVAILABLE <old> <new>: read ~/.claude/skills/cto-fleet/cto-fleet-upgrade/SKILL.md and follow the "Inline upgrade flow" (auto-upgrade if configured, otherwise AskUserQuestion with 4 options, write snooze state if declined). If JUST_UPGRADED <from> <to>: tell user "Running cto-fleet v{to} (just updated!)" and continue.

参数解析:从 $ARGUMENTS 中检测以下标志:

  • --auto:完全自主模式(不询问用户任何问题,全程自动决策)
  • --once:单轮确认模式(将所有需要确认的问题合并为一轮提问,确认后全程自动执行)
  • --framework=soc2|gdpr|hipaa|pci:合规框架(可选,默认 soc2
  • --evidence:生成证据文件(可选,启用后在 docs/compliance/evidence/ 目录生成证据制品)
  • --lang=zh|en:输出语言(默认 zh 中文)

解析后将标志从审计需求描述中移除。

V1 范围说明:当前版本仅支持 SOC2 代码级控制子集。如用户指定 --framework=gdpr|hipaa|pci,提示"V1 仅支持 SOC2 代码级控制子集,其他框架将在后续版本支持",并回退到 SOC2 审计。

模式 用户确认范围 条件节点处理
标准模式(默认) 审计范围确认 + 最终报告确认 正常询问用户
单轮确认模式--once 仅最终报告确认 自动决策 + 收尾汇总
完全自主模式--auto 不询问用户 全部自动决策,收尾汇总所有决策

单轮确认模式下自动决策规则:

  • 控制评级不确定 → 对应 auditor 自行判断,报告中说明
  • 两位 auditor 对同一控制项评级差异过大(相差 2 级及以上)不可跳过,必须暂停问用户(熔断机制)
  • "不符合"控制项超过 5 个不可跳过,必须暂停问用户(熔断机制)
  • 扫描工具运行失败 → scanner 标注"该工具不可用",不阻塞流程
  • 审计范围超出预期(发现大量第三方组件) → analyst 自行决定是否纳入

完全自主模式下:所有节点均自动决策,不询问用户。熔断机制仍然生效(评级差异过大、"不符合"控制项超过 5 个时仍必须暂停问用户)。

使用 TeamCreate 创建 team(名称格式 team-compliance-{YYYYMMDD-HHmmss},如 team-compliance-20260308-143022,避免多次调用冲突),你作为 team lead 按以下流程协调。

文件交接规范(File-Based Handoff)

所有 agent 间传递详细报告时,必须采用文件交接模式(防止上下文溢出触发 20MB 限制):

  1. 写入文件:将完整报告写入团队工作目录:
    • 目录路径:/tmp/{team-name}/(team lead 在 TeamCreate 后执行 mkdir -p /tmp/{team-name} && chmod 700 /tmp/{team-name}
    • 单个文件 ≤ 2000 行;超大报告拆分为 summary + details 文件
  2. 发送引用:通过 SendMessage 仅发送(≤500 字符):
    • 文件路径(1 行)
    • 关键摘要(含核心指标/发现/评分)
  3. 按需读取:接收方使用 Read 按需读取文件,发送方不内联完整内容
  4. 路径转发:team lead 转发报告时只转发文件路径 + 摘要,不 Read 后再 SendMessage
  5. 遵从校验:team lead 收到超 1000 字符且不含 /tmp/team- 路径前缀的消息时,要求 agent 以文件交接模式重发

Read the full file on GitHub · 609 lines

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. 9d ago First seen · 609 lines · 0 tokens per session scan A 5d41704a9470

Subscribe to this mod's changes

team-compliance is a skill published in the GitHub repository ketor/cto-fleet (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 141 tokens to every session and 9,179 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

specification-writing

A workflow for writing complete patent specifications from patent claims and an invention disclosure. It adapts the document to a chosen jurisdiction, such as the US, Europe, or China.

wanshuiyin/Auto-claude-code-research-in-sleep · 49 tokens

regulatory-research-fallback

Fallback workflow for regulatory research when web extraction tools fail on government PDFs.

HKUDS/OpenSpace · 20 tokens

x-scorecard

OpenSSF Scorecard for assessing open source project security. Check security best practices and compliance. Dependency: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

x-cmd/x-cmd · 57 tokens

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

nda-review

Use when the user uploads or pastes a non-disclosure agreement and asks for review, redline, risk assessment, or a recommendation on whether to sign. Identifies missing standard protections, one-sided or unusual provisions, and operational issues; produces a structured report with severity ratings and citations to…

LegalQuants/lq-ai · 79 tokens