AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Coding Agent Scaffold

skill-pebeto-agent-stdlib-coding-agent-scaffold · by pebeto

>-

— No reviews yet
0 installs
36 views
0.0% view→install

Install

$ agentstack add skill-pebeto-agent-stdlib-coding-agent-scaffold

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-pebeto-agent-stdlib-coding-agent-scaffold)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Coding Agent Scaffold? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Coding agent scaffold

Source: Raising the bar on SWE-bench Verified with Claude 3.5 Sonnet. The procedure circulates as tutorials and reference codebases (Thorsten Ball's "How to build an agent" is the canonical one). None ship it as a skill focused on tool-interface design, which is the part that decides reliability.

A strong coding agent does not need elaborate scaffolding. It needs two tools designed with the care you would give a UI, and the freedom to decide its own order of operations. The scaffolding encodes your guesses about what the model cannot do, and those guesses age badly as models improve. Keep it thin.

Give the model control, suggest the order

Do not hard-code a rigid pipeline. In the prompt, suggest a shape and let the model deviate when the task calls for it: explore the code, reproduce the problem, make the fix, verify it, then check edge cases. A suggested sequence guides without boxing in a model that often knows a better route for the specific bug.

Let the agent keep sampling until it finishes or hits the context limit. Expect a high token and turn count on hard tasks; that is the cost of letting the model work the problem.

Tool 1: bash

One parameter, a single command string. No XML wrapping, no escaping scheme the model has to satisfy on top of normal shell quoting.

Write the description the way you would brief a careful new engineer on an unfamiliar machine. Cover the things the model cannot see and will otherwise assume wrong:

  • how shell quoting and escaping work in this environment
  • which packages and interpreters are available
  • whether state persists between calls (does cd or an exported variable survive to the next command)
  • how to run something in the background, and how to read its output later

Steer the model away from commands that dump huge output into the context. A find / or an unbounded log tail wastes the window it needs for the actual task.

Tool 2: file editor

Give it a small, explicit verb set: view, create, str_replace, insert, undo_edit. Two design choices prevent most edit failures:

  • Absolute paths only. Relative paths depend on a working directory the model is tracking in its head, and it tracks it wrong often enough to matter.
  • str_replace matches exactly one occurrence. The old string must appear once. If it appears zero times or several times, the tool refuses and says which, instead of editing the wrong line and corrupting the file. This single rule removes a whole class of silent damage.

Error-proof the descriptions (poka-yoke)

Every recurring mistake the model makes is a gap in a tool description, not a flaw in the model. When you watch a transcript and see the agent trip on the same thing twice, write the limitation and the edge case directly into the tool description so the mistake becomes hard to make:

  • the editor rejects a non-unique str_replace and tells the model to add surrounding context until the match is unique
  • the bash tool states its output is truncated past some size, so the model pipes through head or greps instead of paging everything
  • the editor states paths must be absolute, with an example

This is the highest-leverage work in the whole scaffold. A tool that explains its own failure modes turns a confused agent into a competent one without touching the model.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.