Install
$ agentstack add skill-paulrberg-agent-skills-debrief ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →About
Debrief
Persist the current task's findings as a self-contained, interactive HTML debrief at ./.ai/debriefs//index.html. Pick a slug from the user's task, build the page using the playground skill's conventions, and pre-populate it with concrete findings drawn from the transcript. Pass --md to emit a plain Markdown report at ./.ai/debriefs//index.md instead; Markdown mode does not require the playground skill.
Arguments
- `
(optional): kebab-case folder name, e.g.auth-security-review`. If omitted, derive a topical slug from the task — short (3-5 words), lowercase, dash-separated. --md(optional): emit a Markdown report at/index.mdinstead of HTML. Disables theplaygrounddependency.
Prerequisites
The playground skill is required only for HTML mode (the default). With --md, this skill has no external dependencies. scripts/prepare.sh probes for playground only when building HTML; if missing it prints the install command and exits non-zero. Manual install:
bunx skills add anthropics/skills --skill playground --global
Workflow
1. Resolve slug
- Use
$ARGUMENTSif provided. - Otherwise pick a topical kebab-case slug from the task:
auth-security-review,bundle-size-analysis,tailwind-v4-migration,lcp-regression-q1. Avoid generic names (report,findings,debrief,output). - Reject slugs that don't match
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$— the helper script enforces this.
2. Prepare and verify dependencies
Run from the skill directory:
bash scripts/prepare.sh [--md]
The script:
- Validates the slug.
- In HTML mode (default), probes
.agents/skills/playground,.claude/skills/playground,~/.agents/skills/playground,~/.claude/skills/playground. In--mdmode the probe is skipped entirely. - Exits
2with the install command ifplaygroundis missing in HTML mode — relay the message verbatim and stop. - Creates
./.ai/debriefs//. - Prints five
KEY=VALUElines on stdout:MODE,PLAYGROUND_DIR,DEBRIEFS_DIR,DEBRIEF_PATH,EXISTS.PLAYGROUND_DIRis empty whenMODE=md;DEBRIEF_PATHends inindex.mdinstead ofindex.html.
If EXISTS=true, ask the user before continuing: overwrite or pick a new slug.
3. Pick a playground template (HTML mode only)
Skip this step when --md is set.
Read $PLAYGROUND_DIR/SKILL.md, then load one template under $PLAYGROUND_DIR/templates/ whose shape best fits the debrief:
| Debrief shape | Template | | ------------------------------- | ---------------------- | | Code review / audit findings | diff-review.md | | Document or spec critique | document-critique.md | | Architecture / codebase tour | code-map.md | | Learning, scope, knowledge gaps | concept-map.md | | Data / query exploration | data-explorer.md | | Visual / design decisions | design-playground.md |
Read only the chosen template — don't load all six. If nothing fits cleanly, pick the closest and adapt; do not invent a new template.
4a. Build the debrief — HTML
Write a single HTML file to $DEBRIEF_PATH that satisfies playground core requirements:
- Single file. Inline all CSS and JS. No external dependencies, fonts, or CDNs.
- Live preview updating on every control change. No "Apply" button.
- Prompt output at the bottom — natural language, mentions only non-default choices, with a "Copy" button and brief "Copied!" feedback.
- Sensible defaults plus 3-5 named presets that snap controls to a cohesive combination.
- System font for UI, monospace for code/values.
- Pre-populate with the actual findings from the transcript — concrete file paths, line numbers, severities, metrics, suggestions, code snippets. Not lorem ipsum. Not placeholders. If the transcript has no findings, ask the user for the source material before writing.
For larger payloads, embed findings as a JS array literal inside one inline `` at the top of the file.
4b. Build the debrief — Markdown (when --md)
Write a single Markdown file to $DEBRIEF_PATH. Recommended skeleton:
````md
Findings
— severity: high|medium|low
- File:
path/to/file.ts:42 - Issue:
// minimal snippet showing the issue
Suggestion: .
Next steps
- [ ]
````
Rules:
- Pre-populate with concrete findings from the transcript — real paths, line numbers, severities, snippets. No placeholders, no lorem ipsum. If the transcript has no findings, ask the user before writing.
- Keep it terse: one H3 per finding, fenced code only when the exact text matters.
- No HTML, no embedded scripts, no inline assets. Adjacent files (images, data) may live alongside in
$DEBRIEFS_DIR/if needed.
5. Open
After writing $DEBRIEF_PATH, open it in the user's default browser. Run this unconditionally — do not skip, prompt, or wait for confirmation:
open "$DEBRIEF_PATH"
Then print the absolute $DEBRIEF_PATH so the user can locate it.
Output
A self-contained HTML debrief at ./.ai/debriefs//index.html that:
- Surfaces concrete findings from the user's task.
- Lets the user explore, filter, or annotate them interactively.
- Generates a copyable prompt to act on the selected items.
With --md, the output is instead a plain Markdown report at ./.ai/debriefs//index.md containing the same findings without the interactive UI.
Notes
- Write only under
./.ai/debriefs//. Never write elsewhere. - The HTML must be self-contained — no external CSS, JS, fonts, or images.
- Re-run with a different slug to keep parallel debriefs.
- Suggest the user add
.ai/debriefs/to.gitignoreif debriefs shouldn't be committed.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: PaulRBerg
- Source: PaulRBerg/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.