Skip to content
Back to skills

Add Coding Agent Import

ASecurity

Add or review historical transcript import and live attach support for a coding agent, including session lookup, native parsing, synthetic lifecycle envelopes, shared translator use, incremental tailing, destination overrides, and import tests. Use when implementing or fixing import, attach, resume-session lookup, or transcript-following behavior.

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

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-import --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Add Coding Agent Import?

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

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

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-import
description: Add or review historical transcript import and live attach support for a coding agent, including session lookup, native parsing, synthetic lifecycle envelopes, shared translator use, incremental tailing, destination overrides, and import tests. Use when implementing or fixing import, attach, resume-session lookup, or transcript-following behavior.
---

# Add coding-agent transcript import

Require a production translator and a viable native transcript containing the
facts to import. If either is missing, use `add-coding-agent-translator` or report
the fidelity blocker before implementing import.

## Implement import and attach

- Expose the agent, aliases, and display name through the public import command.
- Locate exactly one transcript from a validated session ID across documented
  active and archived locations. Avoid unsafe symlink traversal and fail clearly
  on zero or multiple matches.
- Parse records with contextual file and line errors, schema-version handling,
  authoritative native session identity, and native timestamps.
- Convert transcript records into synthetic envelopes for the same source and
  translator used by live capture. Never create a second trace builder or invent
  facts that exist only in hooks.
- Keep historical import and live attach on the same parser, processor,
  translator, and sink state. Vary only waiting and finalization.
- Tail incrementally without duplicates, tolerate partial final records, keep an
  active turn open, and finalize it on interruption.
- Apply typed destination or exported parent overrides before transcript lookup
  and fail fast when the host has not supplied resolved session configuration.

## Verify completion

Test active and archived discovery, invalid and ambiguous IDs, malformed and
empty files, one and many turns, incremental growth, no-growth polls, partial
writes, finalization, destination and parent attachment, resume behavior, and
deterministic replay through the production translator.

Files in this skill

  • SKILL.md2 KB
  • agents/openai.yaml225 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

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