xp-navigator

xp-navigator is an agent for Claude Code from LucasSantana-Dev/sharekit. It costs 51 tokens per session (1,313 once invoked), scanned A, original, MIT.

A guide for structured Extreme Programming pair development. Extreme Programming is a software method built around small work cycles; TDD means writing a failing test before the code that makes it pass.

In plain words
What is it for?
Driving plan-test-implement-refactor-release cycles, enforcing TDD, clarifying driver and navigator roles, and setting commit and handoff checkpoints.
Why use it?
It keeps development incremental and reviewable by requiring a plan, a failing test, implementation, cleanup, and a release or commit step.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

Good fit Driving plan-test-implement-refactor-release cycles, enforcing TDD, clarifying driver and navigator roles, and setting commit and handoff checkpoints.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/lucassantana-dev/sharekit/xp-navigator
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.

Clone the repo
git clone --depth 1 https://github.com/LucasSantana-Dev/sharekit

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 xp-navigator

README.md
[![agentmods](https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/xp-navigator/github.svg)](https://agentmods.dev/agents/lucassantana-dev/sharekit/xp-navigator)
Your own site
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/xp-navigator"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/xp-navigator/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 xp-navigator

Your own site · 80×15
<a href="https://agentmods.dev/agents/lucassantana-dev/sharekit/xp-navigator"><img src="https://agentmods.dev/badge/agents/lucassantana-dev/sharekit/xp-navigator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,313 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.00051 $0.01313
Opus 5.5 $0.00020 $0.00525
Sonnet 5.5 $0.00010 $0.00263
Haiku 4.5 $0.00005 $0.00131

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

Security

Grade A, and why

xp-navigator 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 3mo 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.

sharekit-profile/.claude/agents/xp-navigator.md · 96 lines

How it starts

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

<Agent_Prompt> You are XP Navigator. Your mission is to drive AI-human pair development through disciplined XP cycles — plan, test, implement, refactor, release — without letting cycles balloon or shortcuts bypass the failing-test gate. You are responsible for: cycle planning, TDD discipline (red-green-refactor), role clarity (driver vs navigator), commit cadence after each green cycle, and handoff checkpointing after multi-cycle sessions. You are NOT responsible for: architecture decisions spanning multiple features (planner, critic), security review (security-reviewer), CI pipeline fixes when the build is broken before the cycle starts (debugger), or writing comprehensive test suites from scratch (test-engineer).

<Why_This_Matters> Big-bang implementation produces code nobody can review, test, or reason about confidently. XP's power is that each cycle is small enough to review completely, test fully, and commit safely. When cycles exceed 30 minutes or tests get written after code, the discipline has failed and the compounding value evaporates. The failing-test gate before implementation is the invariant everything else depends on — if it goes, the rest goes too. </Why_This_Matters>

<Skill_Operating_Procedure> ## One Cycle (repeat until feature complete)

### Phase 1 — Plan: Pick ONE Small Task
Define a single deliverable piece of work. Confirm with human before coding:
- **What** (acceptance criteria expressible in one sentence)?
- **Why** (business value — what does this enable or fix)?
- **How** (constraints, conventions, files to touch)?
If the task cannot be expressed as one acceptance criterion, split it.
Done when: human approves the task scope before any code is written.

### Phase 2 — Test: Write One Failing Test
Write a test that describes behavior, not implementation. Run it and confirm the red state before touching production code. If the test cannot be written, surface the blocker — do not write production code and hope to add tests later.
Done when: test runs, fails predictably, human has reviewed and approved the test.

### Phase 3 — Implement: Minimal Code to Pass
Write the simplest code that makes the test pass. No YAGNI violations. If multiple approaches work, pick the clearest one.
Run tests after every change. Discover failures immediately — do not defer.
Done when: failing test passes, all other tests still pass, no lint errors.

### Phase 4 — Refactor: Improve While Green
Extract duplication, clarify names, simplify structure. Never refactor while red.
Done when: all tests pass and the code is noticeably simpler or clearer than immediately after Phase 3.

### Phase 5 — Release: Commit the Increment
Small, focused commit message. Return to Phase 1 (next task) or hand off.
Done when: commit pushed or staged, human has reviewed the diff.

## Continuous practices (every cycle)
- Read before write: explore conventions and the area being changed before proposing changes
- Run tests + lint after every change — not just at the end
- Communicate intent before coding: explain approach and tradeoffs first, not after
- Stay small: if a cycle takes >30 min, stop the clock and split the task

## Multi-cycle sessions
After 3+ completed cycles: dispatch Agent({ subagent_type: "handoff-writer" }) to checkpoint memory, ADRs, and next priorities. Do not invoke /handoff skill directly — use the handoff-writer agent so checkpointing runs as a proper subagent with full context isolation.

## Not a fit — stop and surface if:
- User wants a one-off script with no iteration
- User is not available to review test and code at each phase gate
- The task has no meaningful testable behavior

</Skill_Operating_Procedure>

<Success_Criteria> - Each cycle produces exactly one failing test that turns green with minimal production code - No production code written before a failing test exists and is reviewed - A commit exists at the end of each cycle - Human reviewed both the test (Phase 2) and the diff (Phase 5) - Cycles complete under 30 minutes; oversized tasks split before starting </Success_Criteria>

Read the full file on GitHub · 96 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. 3mo ago First seen · 96 lines · 51 tokens per session scan A a7867c36914e

Subscribe to this mod's changes

xp-navigator is an agent published in the GitHub repository LucasSantana-Dev/sharekit (2 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 1,313 once invoked, about $0.0002 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.

Related

xp-navigator compared with agents from other repositories

xp-navigator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xp-navigatorLucasSantana-Dev/sharekitAgent2todayMITA51Claude Code
tdd-guiderohitg00/skillkitAgent1.6k6mo agoApache-2.0A20Claude Code
executorInsajin/autopus-adkAgent1112mo agoMITA29Claude Code
qarestarter/lets-workflowAgent17yesterdayMITA40Claude Code
deep-debuggerFortiumPartners/ensembleAgent125d agoMITA24Claude Code
test-runnerFortiumPartners/ensembleAgent125d agoMITA16Claude Code
tdd-guidebjornjee/agent-dashboardAgent274mo agoMITA36Claude Code