Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add restarter/lets-workflow --skill artifact-pathgit clone --depth 1 https://github.com/restarter/lets-workflowWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/restarter/lets-workflow/artifact-path)<a href="https://agentmods.dev/skills/restarter/lets-workflow/artifact-path"><img src="https://agentmods.dev/badge/skills/restarter/lets-workflow/artifact-path/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/restarter/lets-workflow/artifact-path"><img src="https://agentmods.dev/badge/skills/restarter/lets-workflow/artifact-path.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.01235 |
| Opus 5.5 | $0.00025 | $0.00494 |
| Sonnet 5.5 | $0.00013 | $0.00247 |
| Haiku 4.5 | $0.00006 | $0.00123 |
Grade A, and why
artifact-path scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 81 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Artifact Path
.lets/ is ONE directory shared by every worktree of the repo (whole-dir symlink). Two sessions writing the same artifact kind on the same day used to overwrite each other (lets-05c4s - a plan review was lost). This skill is the single place that names an artifact and guarantees the path is free.
Contract: args kind=<kind> ext=<md|json|dir> [task=<task-id>]. Output: ONE echoed line ARTIFACT_FILE=<absolute path>. The caller writes to that path VERBATIM - never recomputes the stamp, never strips the -vN suffix, never writes anywhere else. ext=dir CREATES the directory (the mkdir is the claim) and echoes its path; a file kind only names a free path.
Name shape
{YYYY-MM-DD}-{HHMM}-{ID}-{KIND}[-vN].{EXT} under the kind's directory:
| kind | directory |
|---|---|
plan |
.lets/plans/ |
idea |
.lets/plans/ |
review-local, review-branch, review-pr-<n>, review-plan |
.lets/reviews/ |
snapshot |
.lets/sessions/ |
handoff |
.lets/handoffs/ |
reports-<command> (with ext=dir) |
.lets/reports/ - one directory per dispatching run, filled by the agent-report skill |
ID is the task id when one is active (MANDATORY whenever a task exists - same rule as the branch named by the active tracker convention). With no task: {branch-slug}-{6hex}, 6hex = first 6 chars of $CLAUDE_CODE_SESSION_ID, so two taskless sessions on main still get distinct names. -vN (v2, v3, ...) is appended whenever the path already exists - for task and taskless alike.
Step 1: Resolve the task id
If the caller passed task=, use it. Otherwise invoke Skill(skill: "lets:detect-task", args: "fallback=no") and use its result (may be empty). fallback=no is mandatory: the searched fallback asks a question, and a taskless snapshot on /lets:end must stay silent.
Step 2: Compute the path
LETS_PROJECT_ROOT=$(git rev-parse --show-toplevel)
KIND="{kind}"; EXT="{ext}"; TASK_ID="{task-id or empty}"
case "$KIND" in
plan|idea) DIR=plans ;;
review-*) DIR=reviews ;;
snapshot*) DIR=sessions ;;
handoff) DIR=handoffs ;;
reports-*) DIR=reports ;;
*) echo "artifact-path: unknown kind '$KIND'"; exit 1 ;;
esac
mkdir -p "$LETS_PROJECT_ROOT/.lets/$DIR"
STAMP=$(date +%Y-%m-%d-%H%M)
if [ -n "$TASK_ID" ]; then
ID="$TASK_ID"
else
HEX=$(printf '%s' "${CLAUDE_CODE_SESSION_ID:-$$}" | cut -c1-6) # session-id prefix; PID outside Claude Code
ID="$(git branch --show-current | tr '/' '-')-${HEX}"
fi
BASE="$LETS_PROJECT_ROOT/.lets/$DIR/${STAMP}-${ID}-${KIND}"
N=2
if [ "$EXT" = dir ]; then
# mkdir without -p is atomic: two sessions in the same minute get two directories, never one shared
ARTIFACT_FILE="$BASE"
until mkdir "$ARTIFACT_FILE" 2>/dev/null; do
[ -e "$ARTIFACT_FILE" ] || { echo "artifact-path: cannot create $ARTIFACT_FILE"; exit 1; }
ARTIFACT_FILE="${BASE}-v${N}"; N=$((N+1))
done
else
ARTIFACT_FILE="${BASE}.${EXT}"
while [ -e "$ARTIFACT_FILE" ]; do ARTIFACT_FILE="${BASE}-v${N}.${EXT}"; N=$((N+1)); done
fi
echo "ARTIFACT_FILE=$ARTIFACT_FILE"
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed b4ef42c9c0ff
- 2mo ago Changed · +13 lines · +6 tokens per session 166f77e958ad
- 2mo ago Changed · +2 lines · +4 tokens per session 81b6ddcecf1a
- 2mo ago Changed · +2 lines 7b66ecd89a29
- 2mo ago Changed ddfff4fe7c8f
- 3mo ago First seen · 64 lines · 53 tokens per session scan A 6ae3d887e287
artifact-path is a skill published in the GitHub repository restarter/lets-workflow (17 stars, last pushed 2d ago), licensed MIT. It adds 63 tokens to every session and 1,235 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
artifact-path compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| artifact-pathrestarter/lets-workflow | Skill | 17 | 2d ago | MIT | A | 63 | Claude Code |
| dekko-verifyaahlijia/dekko | Skill | 6 | 12d ago | MIT | A | 151 | Claude Code |
| dekko-review-contextaahlijia/dekko | Skill | 6 | 12d ago | MIT | A | 74 | Claude Code |
| fixJebel-Quant/rhiza-claude | Skill | 8 | today | none | A | 51 | Claude Code |
| watch-prjustincampbell/gh-watch | Skill | 4 | 1mo ago | MIT | A | 48 | Claude Code |
| triage-reportRockyHong/super-bootstrap | Skill | 3 | 2d ago | MIT | A | 151 | Claude Code |
| review-healthscharissis/polako | Skill | 1 | 3d ago | MIT | A | 0 | Claude Code |