cleanup-artifacts SKILL.md skillA

cleanup-artifacts from ethanaubuchon/dossier-tradecraft is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ethanaubuchon/dossier-tradecraft/cleanup-artifacts@git:20260628.3255910

Pins git:20260628.3255910 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
ethanaubuchon/dossier-tradecraft
Path
skills/cleanup-artifacts/SKILL.md
Versions recorded
1
Latest version
git:20260628.3255910, committed Jun 28, 2026
Size
1,978 bytes
Repository stars
3
License
MIT

Use in /implement at the draft→ready boundary, before publish-pr's squash, to delete this branch's transient plan/spec artifacts so they don't ship in the PR. Deletes .claude/plans/<branch>.md (flattened name). Distinct from repo-setup's prune of previously-merged branches' artifacts.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Cleanup Artifacts

Deletes **this** branch's transient working artifacts — the plan file and any spec scratch — at the draft→ready boundary, so they don't ship in the PR. One of `/implement`'s two distinct cleanups:

- `repo-setup` prunes *previously-merged* branches' worktrees + plan files (at setup).
- `cleanup-artifacts` deletes *this* branch's plan file (at finalize).

Runs **before** `publish-pr`'s squash.

## Input

- **branch** — the current feature branch.

## Steps

1. Delete this branch's plan file: `rm -f .claude/plans/<branch>.md`, using the `/`→`-` flattened branch name (`feat/foo` → `.claude/plans/feat-foo.md`, matching `plan-file`).
2. Delete any other transient spec/scratch artifacts the project marks for this branch.

## Output / contract

- **In:** the branch.
- **Out:** working tree with this branch's plan/spec artifacts removed.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ethanaubuchon/dossier-tradecraft/cleanup-artifacts@sha256:906a96c3b879209d

The line at the top of this page pins the label git:20260628.3255910, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_jla2kxh34ueuci5o.svg)](https://markdownregistry.com/a/art_jla2kxh34ueuci5o)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Jun 28, 2026.

versioncommittedcommitsizeaudit
git:20260628.3255910 latest2026-06-28 3255910 1,978 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1978 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

ethanaubuchon/dossier-tradecraft · 3 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_jla2kxh34ueuci5o
GET https://markdownregistry.com/api/v1/resolve?ref=ethanaubuchon/dossier-tradecraft/cleanup-artifacts
GET https://markdownregistry.com/api/v1/blob/906a96c3b879209d7934ca72090cffe63391baa5f760d931d5048798a96cee8f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from ethanaubuchon/dossier-tradecraft

agent-review SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/agent-review/SKILL.md · Use in /implement after committing, inside the draft PR, to review the committed diff. Dispatches a dependency-free…
git:20260926.30c4426 · audit A · 3 stars
capture-to-vault SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/capture-to-vault/SKILL.md · Use during /research, /scope (or any recipe) to write or update a vault note via dossier-mcp. Agent drafts slug +…
git:20260503.21e93ab · audit A · 3 stars
dispatch-exploration SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/dispatch-exploration/SKILL.md · Use during /research (or any recipe) to send 1-3 research queries in parallel — vault or web targets — and aggregate…
git:20260702.d38960a · audit A · 3 stars
load-context SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/load-context/SKILL.md · Use at the start of /research and other workflow recipes to establish vault grounding. Loads vault bootstrap…
git:20260509.64f65b9 · audit A · 3 stars
open-draft-pr SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/open-draft-pr/SKILL.md · Use in /implement after committing, to push the feature branch and open a draft PR, returning the PR ref. Thin and…
git:20260628.3255910 · audit A · 3 stars
plan-file SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/plan-file/SKILL.md · Use BEFORE writing implementation code in /implement, after repo-setup and once a ticket exists. Produces an…
git:20261002.634bb22 · audit A · 3 stars
publish-pr SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/publish-pr/SKILL.md · Use in /implement at the draft→ready boundary to squash the branch's review-iteration commits into one (non-interactive…
git:20260628.3255910 · audit A · 3 stars
repo-setup SKILL.md skill
ethanaubuchon/dossier-tradecraft · skills/repo-setup/SKILL.md · Use at the start of /implement's repo path to land in a clean working state — fetch, fast-forward main, prune merged…
git:20261002.634bb22 · audit A · 3 stars

Every file in ethanaubuchon/dossier-tradecraft

Browse by kind, by grade A, or by owner.