Skip to content
Back to skills

Add Coding Agent Translator

ASecurity

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.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 23, 2026
ai-agentsrustgitdocumentation

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 23, 2026

npx -y skills add braintrustdata/braintrust-coding-agent-plugins --skill add-coding-agent-translator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Coding Agent Translator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Add Coding Agent Translator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/braintrustdata-add-coding-agent-translator/badge)](https://www.skillsdirectory.com/skills/braintrustdata-add-coding-agent-translator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: add-coding-agent-translator
description: 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.
---

# Add a coding-agent translator

Start from official agent documentation, captured native payloads, and native
transcripts. Establish one lowercase source identity for every integration
surface and record any version-dependent schema behavior.

## Implement the translator

- Add one stateful translator per daemon session and register its factory in the
  production registry and advertised capabilities.
- Build the supported hierarchy of session, turn, LLM, tool, permission,
  compaction, and recursive subagent spans. Preserve correct parents and the
  effective trace root.
- Populate native timing, inputs, outputs, model, token and cache metrics,
  errors, outcomes, tags, agent and adapter versions, session identity, cwd,
  and useful metadata without inventing unavailable facts.
- Honor resolved destinations, exported parent/root attachment, additional
  metadata, and flush behavior. Keep internal routing data out of user metadata.
- Use shared git enrichment and deterministic span identities so repeated,
  duplicate, late, and journal-replayed events converge instead of duplicating.
- Bound transcript observations to what was available when an event was
  captured. Handle unknown or drifted events without panicking.
- Flush late records and close defensibly any work left open by missing events.

## Verify completion

Add fixture-driven tests for happy paths, failures, duplicate or missing event
pairs, multiple turns, resume, supported subagents and permissions, token
accounting, attachment, cwd changes, version variants, flush, and replay.
Confirm the production registry selects this translator for the agreed source.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml219 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.