/agent-dev:harness-engineeringfrom agent-dev
Designs, tests, and optimizes AI agent execution harnesses with state isolation, compact observation formatting, and deterministic evaluation gates. Useful when building agent evaluation loops or sandboxed runtime environments.
Ships in agent-dev. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A guide to constructing robust evaluation harnesses, sandboxed execution environments, and observation feedback loops for autonomous AI coding agents.
import subprocess
import tempfile
import os
class AgentHarness:
def __init__(self, fixture_path: str):
self.fixture_path = fixture_path
self.temp_dir = tempfile.TemporaryDirectory()
def setup(self):
# Unpack clean fixture snapshot
subprocess.run(["tar", "-xzf", self.fixture_path, "-C", self.temp_dir.name], check=True)
return self.temp_dir.name
def teardown(self):
self.temp_dir.cleanup()
def format_observation(output: str, max_chars: int = 2000) -> str:
"""Format tool execution output to preserve agent context."""
if len(output) <= max_chars:
return output
half = max_chars // 2
return f"{output[:half]}\n... [truncated {len(output) - max_chars} characters] ...\n{output[-half:]}"
# Run isolated evaluation suite
pytest tests/eval/test_task_acceptance.py -v --timeout=30
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub siddu1004/sfp --plugin agent-dev104 skills in this plugin
/agent-architecture-auditFull-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack./agent-developmentThis skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins./agent-evalOther plugins' skills for the same job