implement

A command that starts work on a Linear ticket, a task tracked in the Linear project-management tool. It fetches the ticket, creates or switches to a matching Git branch, updates the ticket, and begins planning.

In plain words
What is it for?
Use it when you are ready to implement a specific Linear ticket. It helps create the right branch and prepare an implementation plan from the ticket details.
Why use it?
It removes the repetitive setup needed before coding and keeps the ticket status and code branch aligned. It also shows the ticket details before implementation starts.

Command for Claude Code

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.

agentmods
npx agentmods add commands/waniwani-ai/sdk/implement
Clone the repo
git clone --depth 1 https://github.com/WaniWani-AI/sdk

Made for: Claude Code.

Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 681 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00013 $0.00681
Opus 5 $0.00006 $0.00341
Sonnet 5 $0.00003 $0.00136
Haiku 4.5 $0.00001 $0.00068

Measured 3d ago against content hash 7bd0ef2cb516, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

implement 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 3d 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/commands/implement.md · 81 lines

How it starts

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

Start implementing the Linear ticket specified in $ARGUMENTS.

Steps

  1. Fetch the Linear ticket using mcp__linear__get_issue with the ticket ID from $ARGUMENTS (e.g., "WAN-123")

    • If the ticket doesn't exist, inform the user and stop
  2. Get the current git user using git config user.name to determine the branch prefix

    • Convert to lowercase and replace spaces with hyphens (e.g., "John Doe" → "john-doe")
  3. Create and checkout a new branch with the naming convention: {user}/{linear_ticket_id}

    • Example: maxime/WAN-123
    • Use: git checkout -b {user}/{ticket_id}
    • If the branch already exists, check it out instead: git checkout {user}/{ticket_id}
  4. Mark the ticket as "In Progress" using mcp__linear__update_issue:

    • Set the state to "In Progress"
    • This signals to the team that work has started on this ticket
  5. Display ticket information to the user:

    • Title
    • Description
    • Status
    • Priority
    • Any linked issues or parent tickets
  6. Enter plan mode using the EnterPlanMode tool to start planning the implementation:

    • The plan should be based on the ticket description and acceptance criteria
    • Consider the project's architecture and coding standards (from CLAUDE.md)
    • Break down the work into concrete implementation steps

Branch Naming

  • Format: {git_username}/{LINEAR_TICKET_ID}
  • Git username: lowercase, spaces replaced with hyphens
  • Ticket ID: uppercase (e.g., WAN-123)

Examples:

  • User "maxime", ticket "WAN-456" → maxime/WAN-456
  • User "John Doe", ticket "wan-789" → john-doe/WAN-789

Planning Guidelines

When entering plan mode, focus on:

  1. Understanding the scope - What exactly needs to be built?
  2. Identifying affected files - Which files need to be created or modified?
  3. Dependencies - What needs to happen first? (schema → types → API → UI)
  4. Testing approach - How will the implementation be verified?
  5. Edge cases - What could go wrong?

Read the full file on GitHub · 81 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. 3d ago First seen · 81 lines · 13 tokens per session scan A 7bd0ef2cb516

Subscribe to this mod's changes

implement is a command published in the GitHub repository WaniWani-AI/sdk (17 stars, last pushed 5d ago), licensed MIT. It adds 13 tokens to every session and 681 once invoked, about $0.0001 per session on Opus 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-30.