implement

implement is a skill for Claude Code, Codex from peteski22/agent-pragma. It costs 10 tokens per session (2,656 once invoked), scanned A, original, Apache-2.0.

A coding workflow for implementing a feature or fix and then checking the result automatically. It first reads the project’s applicable instruction files before changing code.

In plain words
What is it for?
Use it to implement requested changes, identify relevant project rules, and run the project’s checks and tests afterward.
Why use it?
It reduces the risk of missing repository rules or finishing an implementation without running the required validation.

Skill for Claude CodeCodex

Part of the pragma plugin — 12 skills, 2 agents shipped together

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 skills/peteski22/agent-pragma/implement
Any agent
npx skills add peteski22/agent-pragma --skill implement
Clone the repo
git clone --depth 1 https://github.com/peteski22/agent-pragma

Made for: Claude Code, Codex.

Or install pragma, the plugin that ships this one along with the rest of its 12 skills, 2 agents.

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 implement

README.md
[![agentmods](https://agentmods.dev/badge/skills/peteski22/agent-pragma/implement.svg)](https://agentmods.dev/skills/peteski22/agent-pragma/implement)
Your own site
<a href="https://agentmods.dev/skills/peteski22/agent-pragma/implement"><img src="https://agentmods.dev/badge/skills/peteski22/agent-pragma/implement.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,656 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.00010 $0.02656
Opus 5 $0.00005 $0.01328
Sonnet 5 $0.00002 $0.00531
Haiku 4.5 $0.00001 $0.00266

Measured 4d ago against content hash f2b6ec5a87c0, 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 4d 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.

plugins/pragma/skills/implement/SKILL.md · 242 lines

How it starts

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

Implement with Validation

Implement the requested feature/fix, then validate before completing.

Phase 0 is mandatory and must complete successfully before any other phase.

Task

$ARGUMENTS

Phase 0: Inject Applicable Rules

Before starting work, collect and read all applicable project rules.

Step 1: Identify target directories

Based on the task, identify which directories will contain files to be created or modified.

If uncertain, err on the side of including more directories rather than fewer. Extra rules being applied is safe; missing rules is not.

Step 2: Collect project rules

Collect project rules from the project's rule directory. Rule file locations vary by agent platform:

  • Claude Code: .claude/rules/*.md
  • OpenCode: AGENTS.md (auto-loaded natively)
  • Other agents: check agent documentation for project rule conventions

For Claude Code, use the Glob tool to discover .claude/rules/*.md files, then the Read tool to load them. OpenCode auto-loads rules from AGENTS.md at the platform level. Collect those that exist and are readable. A file is considered "found" only if it exists and can be successfully read.

Note: Path-scoped rules (those with paths: frontmatter) may be auto-loaded by the agent platform only for matching files. When collecting rules manually, read the frontmatter and apply path-scoped rules only to the target directories they match.

Step 2a: Check for local supplements

Check for a local supplements file (e.g., CLAUDE.local.md for Claude Code) at the project root and read it if present. This is a per-user, unversioned file for machine-specific overrides (e.g., custom validation commands).

If it exists, read it. Pay particular attention to any "Validation Commands" section, which overrides defaults.

Step 3: Read and apply rules

Read each discovered rule file. Apply rules in order of precedence (most specific first):

1. Path-scoped language rules with matching paths (highest precedence)
2. Universal rules

Read the full file on GitHub · 242 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 242 lines · 10 tokens per session scan A f2b6ec5a87c0

Subscribe to this mod's changes

implement is a skill published in the GitHub repository peteski22/agent-pragma (22 stars, last pushed 28d ago), licensed Apache-2.0. It adds 10 tokens to every session and 2,656 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.

Related

Other skills, from other repositories

research-tool-updates

Research recent upstream releases of every rulesync target tool, detect capabilities rulesync has not yet followed, file one GitHub issue per tool for the gaps, and scout popular or promising coding agents rulesync does not target yet.

dyoshikawa/rulesync · 50 tokens

batch-all-issues

Resolve every open issue one at a time: fact-check each with web research, close the ones that need no action, and run the goal-pr skill to fix, review, and merge the ones that do — repeating until no actionable issues remain.

dyoshikawa/rulesync · 56 tokens

goal-release

Cut a release end to end: use the draft-release skill to open the release PR and draft GitHub release, wait for CI to turn green, run the merge-pr skill to merge the release PR, then update the Homebrew formula from the published release assets. Use when the user wants to draft and merge a release in one go, or…

dyoshikawa/rulesync · 86 tokens

prs-awaiting-author

List open pull requests where the ball is in the author's court: CI is failing, review comments are unaddressed, or a maintainer question is awaiting the author's reply. Use when the user wants to see PRs awaiting author action.

dyoshikawa/rulesync · 53 tokens

prs-awaiting-maintainer

List open pull requests where the ball is in the maintainer's court: CI is green and the PR is ready for a maintainer to review, re-review, or merge. Use when the user wants to see PRs awaiting maintainer action.

dyoshikawa/rulesync · 56 tokens

rulesync

Generates and syncs AI rule configuration files (.cursorrules, CLAUDE.md, copilot-instructions.md) across 20+ coding tools from a single source. Use when syncing AI rules, running rulesync commands, importing or generating rule files, or managing shared AI coding configurations.

dyoshikawa/rulesync · 64 tokens