Agent skill

Skill Comply

by affaan-m in affaan-m/ECC

可视化技能、规则和代理定义是否被实际遵循——自动生成3种提示严格级别的场景,运行代理,分类行为序列,并报告完整工具调用时间线的合规率

MITAuto-check passed

Install Skill Comply

skills CLI
$ npx skills add affaan-m/ECC --skill skill-comply -a claude-code

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

GitHub CLI
$ gh skill install affaan-m/ECC skill-comply --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/affaan-m/ECC.git skills-src && mkdir -p .claude/skills && cp -r skills-src/docs/zh-CN/skills/skill-comply .claude/skills/skill-comply && 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
skill-comply
GitHub stars
276k
Token cost
~293 tokens
SKILL.md length
54 words
Files
1
Skills in repo
683
Repo updated
First seen
Licence
MIT

At a glance

可视化技能、规则和代理定义是否被实际遵循——自动生成3种提示严格级别的场景,运行代理,分类行为序列,并报告完整工具调用时间线的合规率

  • Works in 6 steps: 从任意 .md 文件自动生成预期行为序列(规范) → 自动生成提示严格程度递减的场景(支持性 → 中性 → 竞争性) → 运行 claude -p 并通过 stream-json 捕获工具调用轨迹 → …
  • SKILL.md covers 支持的目标, 何时激活, 使用方法 and 关键概念:提示独立性, plus 1 more section
  • Calls uv and claude

What it does

Skill Comply is an agent skill from affaan-m/ECC. 可视化技能、规则和代理定义是否被实际遵循——自动生成3种提示严格级别的场景,运行代理,分类行为序列,并报告完整工具调用时间线的合规率

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

The repository describes itself as: The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond. The licence is MIT.

Example prompts

  • “/skill-comply”

Requirements

  • Python 3

Workflow steps

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

  1. 从任意 .md 文件自动生成预期行为序列(规范)
  2. 自动生成提示严格程度递减的场景(支持性 → 中性 → 竞争性)
  3. 运行 claude -p 并通过 stream-json 捕获工具调用轨迹
  4. 使用 LLM(而非正则表达式)将工具调用分类到规范步骤
  5. 确定性检查时间顺序
  6. 生成包含规范、提示和时间线的自包含报告

What it can do on your machine

Read from SKILL.md and the folder at commit 4eb71d9. 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

    Shell commands in SKILL.md call:

    • uv
    • claude

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

  • Network

    No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.

    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

Skill Comply loads about 293 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 54 words of instructions outside code blocks.

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

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

The full file from affaan-m/ECC at commit 4eb71d9, republished under its MIT licence (© affaan-m). 54 words, ~293 tokens.

Download SKILL.mdSave it as .claude/skills/skill-comply/SKILL.md (or your agent's skills folder).
name
skill-comply
description
可视化技能、规则和代理定义是否被实际遵循——自动生成3种提示严格级别的场景,运行代理,分类行为序列,并报告完整工具调用时间线的合规率
origin
ECC
tools
Read, Bash

skill-comply:自动化合规性测量

通过以下方式测量编码代理是否实际遵循技能、规则或代理定义:

  1. 从任意 .md 文件自动生成预期行为序列(规范)
  2. 自动生成提示严格程度递减的场景(支持性 → 中性 → 竞争性)
  3. 运行 claude -p 并通过 stream-json 捕获工具调用轨迹
  4. 使用 LLM(而非正则表达式)将工具调用分类到规范步骤
  5. 确定性检查时间顺序
  6. 生成包含规范、提示和时间线的自包含报告

支持的目标

  • 技能(skills/*/SKILL.md):工作流技能,如搜索优先、TDD 指南
  • 规则(rules/common/*.md):强制性规则,如 testing.md、security.md、git-workflow.md
  • 代理定义(agents/*.md):代理是否在预期时被调用(内部工作流验证尚不支持)

何时激活

  • 用户运行 /skill-comply <path>
  • 用户询问"这条规则是否真的被遵循?"
  • 添加新规则/技能后,验证代理合规性
  • 作为质量维护的一部分定期执行

使用方法

bash
# Full run
uv run python -m scripts.run ~/.claude/rules/common/testing.md

# Dry run (no cost, spec + scenarios only)
uv run python -m scripts.run --dry-run ~/.claude/skills/search-first/SKILL.md

# Custom models
uv run python -m scripts.run --gen-model haiku --model sonnet <path>

关键概念:提示独立性

测量技能/规则是否在提示未明确支持时仍被遵循。

报告内容

报告是自包含的,包括:

  1. 预期行为序列(自动生成的规范)
  2. 场景提示(每个严格程度级别询问的内容)
  3. 每个场景的合规性评分
  4. 带有 LLM 分类标签的工具调用时间线
高级(可选)

对于熟悉钩子的用户,报告还包含针对合规性较低的步骤的钩子提升建议。此为参考信息——主要价值在于合规性本身的可见性。

© affaan-m, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in docs/zh-CN/skills/skill-comply of affaan-m/ECC.

Open the folder on GitHubat commit 4eb71d9

Compare with similar skills

Skill Comply 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.

Skill Comply compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Comply this skillaffaan-m/ECC276k—~293Automated safety check: PassMIT
Hoa Violation Responsemohitagw15856/pm-claude-skills1.4k—~1.3kAutomated safety check: PassMIT
Format Importsfeisuzhu/thbattle416—~126Automated safety check: PassGPL-3.0
Compliancevivy-yi/xiaohongshu-skills481—~1.7kAutomated safety check: PassNone
Skill Authoringmicrosoft/GitHub-Copilot-for-Azure255—~839Automated safety check: PassMIT
Children Privacy Noticemukul975/Privacy-Data-Protection-Skills301—~4.2kAutomated safety check: PassApache-2.0

Similar skills

  • Hoa Violation Response

    mohitagw15856/pm-claude-skills

    Respond to an HOA or condo-association violation notice or fine — decide whether to comply, cure, or dispute, and do it on the record.

    1.4k GitHub stars~1.3k tokensUpdated yesterday
    Research & ScienceAuto-check passed
  • Format Imports

    feisuzhu/thbattle

    Rewrite Python script's top level import statements to comply coding standard

    416 GitHub stars~126 tokensUpdated 3 mo ago
    DevelopmentAuto-check passed
  • Compliance

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when needing to understand and comply with Xiaohongshu's platform rules, avoid violations, and maintain account health and safety

    481 GitHub stars~1.7k tokensUpdated 8 mo ago
    Sales & SupportAuto-check passed
  • Skill Authoring

    microsoft/GitHub-Copilot-for-Azure

    Official

    Guidelines for writing Agent Skills that comply with the agentskills.io specification.

    255 GitHub stars~839 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Children Privacy Notice

    mukul975/Privacy-Data-Protection-Skills

    Designs and implements privacy notices for children that comply with GDPR Articles 12-14, UK AADC Standard 4, and COPPA Section 312.4.

    301 GitHub stars~4.2k tokensUpdated 6 mo ago
    Legal & ComplianceAuto-check passed
  • Advertising Compliance

    JoelLewis/finance_skills

    Ensure investment advertising and marketing materials comply with SEC Marketing Rule and FINRA Rule 2210.

    206 GitHub stars~6.8k tokensUpdated 2 mo ago
    Writing & ContentAuto-check passed

More from affaan-m/ECC

All 682 skills in this repo
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    277k GitHub starsUsed in 5 repos~3.1k tokens
    Auto-check passed
  • Ingests, indexes, searches, edits and monitors video, audio and live streams through the VideoDB Python SDK, returning stream links, clips and timestamps.

    277k GitHub starsUsed in 3 repos~3.5k tokens
    Auto-check: notes
  • Docs Governance

    affaan-m/ECC

    Route broad documentation-governance requests to existing ECC skills and run an opt-in, read-only audit of mapped documentation roles, links, ADR indexes, and evidence references.

    277k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Rules Distillation

    affaan-m/ECC

    Scans installed skills for principles that recur across them and proposes rule-file changes: append, revise, add a section, create a file or leave as covered.

    277k GitHub starsUsed in 2 repos~2.3k tokens
    Auto-check passed
  • Builds DRAFT counterparty agreements from one markdown template and a small JSON spec per party, with clauses picked by the party's role.

    277k GitHub stars~2.9k tokensUpdated today
    Auto-check passed
  • Set an ECC-specific frontend design direction for production UI work.

    277k GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Skill Comply

What does Skill Comply do?

可视化技能、规则和代理定义是否被实际遵循——自动生成3种提示严格级别的场景,运行代理,分类行为序列,并报告完整工具调用时间线的合规率. Skill Comply is an agent skill from affaan-m/ECC.

How do I install Skill Comply in Claude Code?

Run `npx skills add affaan-m/ECC --skill skill-comply -a claude-code`. Or copy the skill folder (docs/zh-CN/skills/skill-comply in affaan-m/ECC) into .claude/skills/skill-comply in your project. Claude Code loads it when a task matches its description.

How do I install Skill Comply in Codex?

Run `npx skills add affaan-m/ECC --skill skill-comply -a codex`. Or copy the skill folder (docs/zh-CN/skills/skill-comply in affaan-m/ECC) into .agents/skills/skill-comply in your project. Codex loads it when a task matches its description.

Can I use Skill Comply 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 affaan-m/ECC --skill skill-comply -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-comply, .gemini/skills/skill-comply, .github/skills/skill-comply and .opencode/skills/skill-comply in your project.

What does Skill Comply need to run?

Going by SKILL.md and its folder, Skill Comply needs the command-line tools its instructions call (uv and claude). Our summary lists: Python 3.

Does Skill Comply access the network?

SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Skill Comply 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 Skill Comply use?

Skill Comply 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 Skill Comply use?

About 293 tokens (SKILL.md is roughly 1.2k 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 Skill Comply?

Skills that share tags, products or a category with Skill Comply: Hoa Violation Response (mohitagw15856/pm-claude-skills, 1.4k stars), Format Imports (feisuzhu/thbattle, 416 stars), Compliance (vivy-yi/xiaohongshu-skills, 481 stars) and Skill Authoring (microsoft/GitHub-Copilot-for-Azure, 255 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Comply?

affaan-m (a GitHub user) maintains it in affaan-m/ECC, which has 276,111 GitHub stars. The repository holds 683 skills in this directory. The repository was last updated on October 10, 2026.

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