pit-builder

pit-builder is a skill for Claude Code, Codex from srinidhis05/agentura. It costs 2 tokens per session (1,368 once invoked), scanned A, original, Apache-2.0.

A tool that creates a small, isolated backend project—called a pit—in a Spring Boot Java service from a structured feature specification. It builds the code, checks it, and reports a proposed code change.

In plain words
What is it for?
Use it to create backend endpoints, database documents, and feature properties for a new product capability.
Why use it?
It gives each backend feature a defined place and implementation workflow instead of mixing new endpoints and data structures into unrelated code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/worker/workspace/TASK_RESULT.json.

Good fit Use it to create backend endpoints, database documents, and feature properties for a new product capability.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

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 pit-builder

README.md
[![agentmods](https://agentmods.dev/badge/skills/srinidhis05/agentura/pit-builder.svg)](https://agentmods.dev/skills/srinidhis05/agentura/pit-builder)
Your own site
<a href="https://agentmods.dev/skills/srinidhis05/agentura/pit-builder"><img src="https://agentmods.dev/badge/skills/srinidhis05/agentura/pit-builder.svg" alt="Measured on agentmods" height="20"></a>
Per session 2 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,368 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.00002 $0.01368
Opus 5 $0.00001 $0.00684
Sonnet 5 $0.00000 $0.00274
Haiku 4.5 $0.00000 $0.00137

Measured 7d ago against content hash 0106034d0ca0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pit-builder 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 7d 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.

skills/incubator/pit-builder/SKILL.md · 155 lines

How it starts

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

Pit Builder Agent

MANDATORY EXECUTION RULE

NEVER produce a text-only response. Every single response you give MUST include at least one tool call (Bash, Write, Read, Edit, or Glob). If you want to explain what you're doing, include the explanation AND a tool call in the same response. A response with only text and no tool call will TERMINATE your execution immediately and the task will FAIL. This is a hard constraint of the runtime — not a suggestion.

Your execution is ONLY successful when you have written TASK_RESULT.json containing a valid pr_url. Any execution that ends without this file is a FAILURE.

Task

Create a new "pit" (mini-project) in the backend-api Spring Boot backend repo from a structured spec. Clone → read harness → create code → build → push → PR → report. All in one continuous flow.

Input Format

{
  "feature_name": "expense-tracker",
  "pit_name": "expense_tracker",
  "pit_name_hyphenated": "expense-tracker",
  "backend_spec": {
    "base_path": "/api/v1/expense-tracker",
    "endpoints": [...],
    "documents": [...],
    "properties": { "prefix": "expense-tracker", "fields": {...} }
  },
  "feedback": "(optional) PM feedback for refinement",
  "backend_branch": "(optional) existing branch name for refinement"
}

Execution — One Continuous Flow

Do ALL of the following in order. Do NOT stop between steps. Do NOT summarize between steps. After each step, immediately proceed to the next step's tool calls.

Step 1: Clone and branch

git clone https://x-access-token:${GITHUB_TOKEN}@github.com/your-org/backend-api.git /tmp/backend-api
cd /tmp/backend-api

If backend_branch is provided: git checkout <backend_branch> Otherwise: git checkout -b feat/pit-<pit_name_hyphenated>

Step 2: Read the harness (4 files max)

Read these files — they tell you HOW to build:

  1. CLAUDE.md
  2. DECISIONS.md (if exists)
  3. GUARDRAILS.md (if exists)
  4. .claude/skills/pits/SKILL.md

Step 3: Create all pit files

Read the full file on GitHub · 155 lines

Files

What ships with it

2 files 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. 7d ago First seen · 155 lines · 2 tokens per session scan A 0106034d0ca0

Subscribe to this mod's changes

pit-builder is a skill published in the GitHub repository srinidhis05/agentura (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 2 tokens to every session and 1,368 once invoked, about $0.0000 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-31.

Related

Other skills, from other repositories

wxjava-api-contributor

A contributor guide for adding or maintaining official WeChat API support in WxJava, a Java software development kit. It covers services, request and response data objects, data conversion, HTTP handling, starter configuration, and regression tests.

binarywang/WxJava · 68 tokens

wxjava-module-selector

A decision guide for choosing the correct WxJava Maven module, dependency management file, and example for a WeChat use case. WxJava is a Java software development kit for services such as official accounts, mini programs, and payments.

binarywang/WxJava · 86 tokens

azure-communication-callautomation-java

Build call automation workflows with Azure Communication Services Call Automation Java SDK. Use when implementing IVR systems, call routing, call recording, DTMF recognition, text-to-speech, or AI-powered call flows.

microsoft/skills · 49 tokens

azure-communication-chat-java

Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.

microsoft/skills · 41 tokens

azure-communication-common-java

Azure Communication Services common utilities for Java. Use when working with CommunicationTokenCredential, user identifiers, token refresh, or shared authentication across ACS services.

microsoft/skills · 35 tokens

azure-communication-sms-java

Send SMS messages with Azure Communication Services SMS Java SDK. Use when implementing SMS notifications, alerts, OTP delivery, bulk messaging, or delivery reports.

microsoft/skills · 36 tokens