mcp-digger: Skill for Claude Code

.claude/skills/accept/SKILL.md

accept is a skill for Claude Code from janeksm/mcp-digger. It costs 23 tokens per session (1,259 once invoked), scanned A, original, MIT.

A finalization workflow for an implementation step. It reviews changed code, simplifies it, fixes reported issues, updates project tracking and knowledge files, and commits the result.

In plain words
What is it for?
Use it to finish the current tracked development step, review its changes, apply cleanup fixes, update TODO and project knowledge files, and create a commit.
Why use it?
It provides a final quality check before marking work complete. This helps catch unnecessary complexity, dead code, missing checks, and unfinished project records.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; runs codex exec; mentions Codex.

This is janeksm/mcp-digger's own configuration. It tells Claude Code how to work on mcp-digger 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 mcp-digger configures →

Reuse

Borrowing it

Nothing to install: this file belongs to janeksm/mcp-digger. 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/janeksm/mcp-digger/main/.claude/skills/accept/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/janeksm/mcp-digger

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 accept

README.md
[![agentmods](https://agentmods.dev/badge/skills/janeksm/mcp-digger/accept/github.svg)](https://agentmods.dev/skills/janeksm/mcp-digger/accept)
Your own site
<a href="https://agentmods.dev/skills/janeksm/mcp-digger/accept"><img src="https://agentmods.dev/badge/skills/janeksm/mcp-digger/accept/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 accept

Your own site · 80×15
<a href="https://agentmods.dev/skills/janeksm/mcp-digger/accept"><img src="https://agentmods.dev/badge/skills/janeksm/mcp-digger/accept.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,259 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.00023 $0.01259
Opus 5.5 $0.00009 $0.00504
Sonnet 5.5 $0.00005 $0.00252
Haiku 4.5 $0.00002 $0.00126

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

Security

Grade A, and why

accept 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.

.claude/skills/accept/SKILL.md · 111 lines

How it starts

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

Accept Step

Finalize the current implementation step with quality gates before committing. Updates CMCM knowledge files (patterns, handoff).

Step to accept: $ARGUMENTS (if empty, infer from TODO.md — the first step with status in-progress)

Instructions

1. Identify the step

Read TODO.md to find the step:

  • If $ARGUMENTS is a number, use that step.
  • Otherwise find the first in-progress step.
  • If no in-progress step exists, inspect git diff HEAD and git status to summarize changes, pick the next step number, and add a new row with status in-progress.

2. Simplify (analyze + fix)

Review changed files and apply simplification fixes:

  • Read CC.md first — Node.js / TypeScript clean code rules apply here as the simplify checklist.
  • Run git diff HEAD to identify changed files and hunks.
  • For each changed area, check for: deep nesting (use guard clauses), long functions (split), generic names (make descriptive), dead code (remove), redundant abstractions (inline), unnecessary comments (delete), plus the rules in CC.md (non-null assertions, floating promises, any types, missing return types on exports, etc.).
  • Apply fixes incrementally — one at a time.
  • After all simplify fixes, verify: run npm run typecheck, npm run lint, npm test (as separate commands).
  • If verification fails, fix the failure before continuing.
  • Record what was fixed for the summary in step 5.

3. Codex review (on post-simplify code)

Remove any previous CODEX_REVIEW.md. Then launch Codex CLI in background (Bash with run_in_background: true):

codex exec -s read-only -o CODEX_REVIEW.md "You are a senior code reviewer. Review the recent changes (unstaged and staged diffs) in this codebase.

For each finding report:
- Severity: CRITICAL, HIGH, MEDIUM, or LOW
- File path and line number
- What the issue is
- Suggested fix (code snippet if applicable)

Group by severity (CRITICAL first). Format as markdown checklist with - [ ] items." < /dev/null

Read the full file on GitHub · 111 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. 2mo ago First seen · 111 lines · 23 tokens per session scan A 95cfd0e8d7bd

Subscribe to this mod's changes

accept is a skill published in the GitHub repository janeksm/mcp-digger (0 stars, last pushed 5mo ago), licensed MIT. It adds 23 tokens to every session and 1,259 once invoked, about $0.0001 per session on Opus 5.5. 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.