Agent skill

Implement

by mag123c in mag123c/toktrack

TDD implementation (RED→GREEN→REFACTOR) → verify → review. An agent skill from mag123c/toktrack.

MITAuto-check passedTesting & QA

Install Implement

skills CLI
$ npx skills add mag123c/toktrack --skill implement -a claude-code

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

GitHub CLI
$ gh skill install mag123c/toktrack implement --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/mag123c/toktrack.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/implement .claude/skills/implement && 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
implement
GitHub stars
193
Token cost
~353 tokens
SKILL.md length
133 words
Files
2 (incl. references)
Skills in repo
6
Repo updated
First seen
Licence
MIT

At a glance

TDD implementation (RED→GREEN→REFACTOR) → verify → review. An agent skill from mag123c/toktrack.

  • Works in 6 steps: Analysis: Review plan, identify affected… → Gate pre-run (MUST — before coding) → TDD Cycle → …
  • Tasks that involve Test-driven development
  • SKILL.md covers Flow, Execution, Commands and Rules
  • Calls cargo and make

What it does

Implement is an agent skill from mag123c/toktrack. TDD implementation (RED→GREEN→REFACTOR) → verify → review

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/gates.md`).

It sits in Testing & QA, covering Test-driven development. It works with Rust. The repository describes itself as: Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code). The licence is MIT.

When your agent uses it

  • Tasks that involve Test-driven development

Example prompts

  • “/implement”

Workflow steps

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

  1. Analysis: Review plan, identify affected modules
  2. Gate pre-run (MUST — before coding)
  3. TDD Cycle
  4. Auto-call /verify: On implementation complete
  5. Auto-call /review: On verify pass
  6. Auto-call /wrap: On review PASS

What it can do on your machine

Read from SKILL.md and the folder at commit 75a86fa. 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:

    • cargo
    • make

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

  • Network

    No URLs in SKILL.md.

    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

Implement loads about 353 tokens when it runs, and up to ~660 if it reads all its reference files. Until then it costs about 17 tokens; SKILL.md has 133 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~17
When it runs · the whole SKILL.md, loaded when a task matches
~353
With references · SKILL.md plus every file in references/, read only if the agent opens them
~660

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 mag123c/toktrack at commit 75a86fa, republished under its MIT licence (© mag123c). 133 words, ~353 tokens.

Download SKILL.mdSave it as .claude/skills/implement/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
implement
description
TDD implementation (RED→GREEN→REFACTOR) → verify → review
required_context
.claude/ai-context/architecture.md, .claude/ai-context/conventions.md

Implement

Flow

Analysis → Gate pre-run → TDD(RED→GREEN→REFACTOR) → /verify → /review → /wrap

Execution

  1. Analysis: Review plan, identify affected modules

  2. Gate pre-run (MUST — before coding) Run the PLAN's [unverified-gate: probe=…] / Phase 0 probes before RED. Fail → halt + report (don't build on a falsified assumption). Map Acceptance/DoD → RED tests; mark unverifiable as [unverified-gate] to carry to verify/wrap. Detail → references/gates.md (tag vocab: ../clarify/references/provenance.md).

    Rust-specific probes:

    • cargo check — whether it compiles
    • cargo test -- --list — verify test targets exist
    • make check — unified fmt + clippy + test gate
  3. TDD Cycle:

    • RED: Write failing test first
    • GREEN: Minimal code to pass
    • REFACTOR: Clean up (keep tests passing)
  4. Auto-call /verify: On implementation complete

  5. Auto-call /review: On verify pass

  6. Auto-call /wrap: On review PASS

Commands

bash
cargo test
cargo clippy -- -D warnings
cargo fmt --check

Rules

  • No implementation without test
  • On verify fail → fix and retry
  • On review FAIL → fix and retry
  • Complete full chain without stopping

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

Files

SKILL.md and 1 other file (references) in .claude/skills/implement of mag123c/toktrack.

  • SKILL.md
  • references/gates.md

Open the folder on GitHubat commit 75a86fa

Compare with similar skills

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

Implement compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Implement this skillmag123c/toktrack193—~353Automated safety check: PassMIT
Rust TDD Workflowrtk-ai/rtk83k—~753Automated safety check: NotesApache-2.0
RTK Filter TDD in Rustrtk-ai/rtk83k—~1.9kAutomated safety check: NotesApache-2.0
TDDccusage/ccusage19k—~665Automated safety check: PassCustom licence
Rust Testingkurealnum/dotfiles2906 repos~2.9kAutomated safety check: PassNone
Rust Testingaffaan-m/ECC274k1 repos~2.5kAutomated safety check: PassMIT

Similar skills

  • Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test.

    83k GitHub stars~753 tokensUpdated today
    Testing & QAAuto-check: notes
  • Enforces red-green-refactor for new RTK output filters in Rust, using real captured fixtures, snapshot tests with insta and token-savings assertions.

    83k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check: notes
  • TDD

    ccusage/ccusage

    Guides t-wada Red-Green-Refactor TDD for ccusage logic changes.

    19k GitHub stars~665 tokensUpdated today
    Testing & QAAuto-check passed
  • Rust Testing

    kurealnum/dotfiles

    Rust testing patterns including unit tests, integration tests, async testing, property-based testing, mocking, and coverage.

    290 GitHub starsUsed in 6 repos~2.9k tokens
    Testing & QAAuto-check passed
  • Rust Testing

    affaan-m/ECC

    Rust测试模式,包括单元测试、集成测试、异步测试、基于属性的测试、模拟和覆盖率。遵循TDD方法学. An agent skill from affaan-m/ECC.

    274k GitHub starsUsed in 1 repo~2.5k tokens
    Testing & QAAuto-check passed
  • Growing Outside In Systems

    lexler/skill-factory

    Drive feature development using Outside-In TDD with Hexagonal Architecture.

    239 GitHub starsUsed in 1 repo~1.9k tokens
    Testing & QAAuto-check passed

More from mag123c/toktrack

  • Clarify

    mag123c/toktrack

    Adaptive requirements clarification with auto-depth routing.

    193 GitHub stars~1.3k tokensUpdated 6 days ago
    Auto-check passed
  • Review

    mag123c/toktrack

    Multi-agent code review for Rust CLI/TUI. An agent skill from mag123c/toktrack.

    193 GitHub stars~1.2k tokensUpdated 6 days ago
    Auto-check passed
  • Verify

    mag123c/toktrack

    Self-healing verification loop (test → clippy → fmt). An agent skill from mag123c/toktrack.

    193 GitHub stars~676 tokensUpdated 6 days ago
    Auto-check passed
  • Next

    mag123c/toktrack

    Session start - check progress, suggest next task. An agent skill from mag123c/toktrack.

    193 GitHub stars~330 tokensUpdated 6 days ago
    Auto-check passed
  • Wrap

    mag123c/toktrack

    Session end - document updates, commit

    193 GitHub stars~407 tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Implement

What does Implement do?

TDD implementation (RED→GREEN→REFACTOR) → verify → review. An agent skill from mag123c/toktrack. Implement is an agent skill from mag123c/toktrack.

When should I use Implement?

Implement fits situations like: tasks that involve Test-driven development.

How do I install Implement in Claude Code?

Run `npx skills add mag123c/toktrack --skill implement -a claude-code`. Or copy the skill folder (.claude/skills/implement in mag123c/toktrack) into .claude/skills/implement in your project. Claude Code loads it when a task matches its description.

How do I install Implement in Codex?

Run `npx skills add mag123c/toktrack --skill implement -a codex`. Or copy the skill folder (.claude/skills/implement in mag123c/toktrack) into .agents/skills/implement in your project. Codex loads it when a task matches its description.

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

What does Implement need to run?

Going by SKILL.md and its folder, Implement needs the command-line tools its instructions call (cargo and make).

Does Implement access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Implement 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 Implement use?

Implement 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 Implement use?

About 353 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 307 tokens, read only when the agent opens those files.

What are the alternatives to Implement?

Skills that share tags, products or a category with Implement: Rust TDD Workflow (rtk-ai/rtk, 83k stars), RTK Filter TDD in Rust (rtk-ai/rtk, 83k stars), TDD (ccusage/ccusage, 19k stars) and Rust Testing (kurealnum/dotfiles, 290 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Implement?

mag123c (a GitHub user) maintains it in mag123c/toktrack, which has 193 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 1, 2026.

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