AGENT SKILL

add-coding-agent-run

Add or review invocation-local managed-run support for a coding agent, including executable dispatch, temporary hook or plugin injection, route isolation, duplicate-capture suppression, process behavior, trust safety, and run-command tests. Use when implementing or fixing the command that launches an agent with tracing for one invocation.

License 许可
Apache-2.0
最近更新
2026-11-14
Stars
★ 3
Forks
3

01 前言 Front Matter

name
add-coding-agent-run
description
Add or review invocation-local managed-run support for a coding agent, including executable dispatch, temporary hook or plugin injection, route isolation, duplicate-capture suppression, process behavior, trust safety, and run-command tests. Use when implementing or fixing the command that launches an agent with tracing for one invocation.

02 资源文件 1

03 SKILL.md 正文

Add a managed coding-agent run

Require a production translator and a capture mechanism that can be injected for one process invocation. Use the translator or capture skill first when missing.

Implement managed run

  • Add the agent to public run parsing, aliases, executable dispatch, and the canonical daemon source mapping.
  • Require a resolved destination before launch and scope route overrides to the child process tree without rewriting persistent setup.
  • Inject the full capture event set using agent-specific arguments, settings, environment, or plugin configuration.
  • Suppress inherited Braintrust capture only for the managed process tree while allowing the injected adapter to run, preventing duplicate traces.
  • Preserve normal hook or plugin trust review. Never enable a global trust bypass or authorize unrelated hooks.
  • Inherit stdio, forward agent arguments verbatim, return its exit status, and terminate and reap it on interruption.
  • Quote generated commands safely across supported platforms and unusual paths.

Verify completion

Test parsing, aliases, generated configuration, every injected event, route isolation, duplicate suppression, paths with spaces and non-ASCII text, missing executables, failure status, interruption, and the absence of transcript polling when live hooks or plugins are the selected capture path.

04 同仓库更多 Skills

braintrustdata
braintrustdata/braintrust-coding-agent-plugins

troubleshoot-braintrust-mcp

Diagnose Braintrust MCP connection issues.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

braintrust

Use Braintrust for LLM evaluation, logging, and observability.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

test-coding-agent-integration

Test or audit a coding-agent tracing integration across translator fixtures, capture adapters, setup, managed run, transcript import, daemon recovery, real-agent execution, package installation, and CI. Use when adding verification, reviewing integration completeness, diagnosing coverage gaps, or proving that emitted events become correct Braintrust traces.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

ship-coding-agent-integration

Package and release a coding-agent tracing integration through its marketplace, package registry, or distribution repository, including manifests, builds, validation, versioning, CI, documentation, publishing automation, and installed-artifact smoke tests. Use when preparing an integration for release or auditing whether it has a complete distribution path.

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

audit-agent-tracing-support

Assess whether a coding agent's hooks/plugin API can support tracing (per docs/trace-coding-agents-with-hooks.md), or whether a reliable fallback like session transcripts exists. Use when evaluating a new or existing coding agent (Claude Code, Codex, Cursor, Gemini CLI, Aider, etc.) for a Braintrust tracing plugin, or when someone asks "can we trace agent X" / "is agent X's hook API good enough".

★ 3
braintrustdata
braintrustdata/braintrust-coding-agent-plugins

add-coding-agent-translator

Implement or review a coding agent's daemon translator, including source registration, native event correlation, trace shape, deterministic recovery, routing metadata, and translator tests. Use when adding a new agent translator or changing how an existing agent's hooks or transcripts become Braintrust spans.

★ 3