Index of every page on this site: llms.txt
All skills
coleam00 avatar

/rulecheck

@f68ba4e
by Cole Medincoleam00/archon24k stars
3,542
Run it yourself

Autonomous rule adherence checker. Scans the codebase for rule violations, fixes the highest-impact ones in an isolated worktree, runs full validation, creates a PR. Uses memory to track progress across runs.

Use this Skill: https://skilld.dev/gh/coleam00/archon/rulecheck

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈55 tokens for metadata: the name and description. ≈391 when used: this file. ≈3k more on demand in 2 files.

How this Skill uses context

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

This Skill turns off automatic use in Claude Code. Its description stays out of the automatic Skill list by default.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Rulecheck

Launch the rulecheck-agent to autonomously scan and fix AGENTS.md rule violations.

Your Job (Main Agent)

You are the orchestrator. Your ONLY job is to launch the rulecheck-agent and report its results when it completes. You do NOT do the scanning or fixing yourself.

  1. Launch the rulecheck-agent with the focus area (if any): $ARGUMENTS
  2. Wait for it to complete — do NOT poll, tail, or check on it. You will be notified automatically when it finishes.
  3. Report ONLY what the agent told you — relay its final message verbatim or summarize it. Do NOT search for PRs, read files, or fabricate results. If the agent hit its context limit, say so. If it didn't produce a PR URL in its output, don't go looking for one.

Rules for You

  • Do NOT scan the codebase yourself — that's the agent's job
  • Do NOT grep, read source files, or run linters — the agent handles all of that
  • Do NOT edit any files — you are the orchestrator, not the fixer
  • Do NOT try to resume or check on the agent while it's running — just wait
  • Do NOT do the agent's work if it fails or hits context limits — report the failure to the user and stop. NEVER pick up where the agent left off. You are not in a worktree and would be editing main directly.
  • Do NOT update project memory — the agent maintains its own memory at .claude/agent-memory/rulecheck-agent/. Do not duplicate run results into your project memory.
  • Trust the agent. It runs in an isolated worktree and will create a PR when done.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The rulecheck skill facilitates an autonomous agent that scans and fixes codebase rule violations. It includes safety guardrails to prevent destructive commands and a Slack notification system for reporting. The main security findings relate to the potential for indirect prompt injection via the project files it processes and weaknesses in the regex-based command filters that can be bypassed.

  • Socket1mo

    1 alert: gptAnomaly

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at f68ba4e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 11 hours ago.

Activeupdated 3 months ago
disable-model-invocation
true
agent
rulecheck-agent
argument-hint
[focus area]

README badge

README badge for coleam00/archon/rulecheck