Agent skill
audit-archive
Phase 6: Archive URLs via perma.cc
Install this agent skill to your Project
npx add-skill https://github.com/edwinhu/workflows/tree/main/skills/bluebook-audit/skills/audit-archive
SKILL.md
Phase 6: Archive
Archive all non-permanent URLs in footnotes via perma.cc API.
What This Phase Does
- Extract URL inventory from footnotes data
- Deduplicate URLs (same URL across multiple footnotes)
- Archive each URL via perma.cc API
- Write perma.cc links back to DOCX footnotes
- Save progress after each successful archive
Prerequisites
- Perma.cc API key in
.envfile (project-level or user home directory) - For institutional accounts: organization folder ID (unlimited archives)
- Free accounts: 10 links/month limit
Script
python3 "${CLAUDE_SKILL_DIR}/../../../../skills/bluebook-audit/scripts/permacc_archive.py" --docx <path> --data scratch/footnotes_data.json
Institutional Account Setup
# Find your organization and folder ID
curl -H "Authorization: ApiKey YOUR_KEY" https://api.perma.cc/v1/organizations/
Use the folder parameter when creating archives:
requests.post("https://api.perma.cc/v1/archives/", json={
"url": url,
"folder": FOLDER_ID, # enables institutional limits
})
Gate: Exit Archive
- All non-perma.cc URLs archived
- perma.cc links written to DOCX
-
scratch/permacc_archives.jsoncontains all mappings
Next Phase
Read ${CLAUDE_SKILL_DIR}/../../../../skills/bluebook-audit/skills/audit-crossrefs/SKILL.md and follow its instructions.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
audit-fix-loop
This skill should be used when the user asks to 'iteratively improve', 'audit and fix', 'hill-climb quality', 'grade and improve', 'score and fix', 'audit loop', 'quality loop', or needs structured iterative improvement of an artifact using scored independent audits. Also use when the user invokes a ralph loop for quality improvement rather than task completion.
ds-spec-reviewer
Internal skill used by ds-brainstorm at Phase 1 exit gate. Dispatches a reviewer subagent to verify SPEC.md completeness before planning. NOT user-facing.
pptx-render
Use when the user asks to "render pptx", "show pptx slide", "compare with pptx", "pptx to image", "export pptx slide", "original slide", "show me the original", "what does the pptx look like", or needs to extract a specific PPTX slide's content for visual comparison.
obsidian-organize
Organize Obsidian notes according to clawd's preferences. Use when user asks to "organize notes", "move notes to right folder", "clean up vault", "tidy vault", "file this note", or when creating new notes in the Obsidian vault. Also use when moving, renaming, or categorizing notes, or when the vault root has stray files.
dev-verify
This skill should be used when the user asks to 'verify completion', 'check that tests pass', 'confirm feature works', or REQUIRED Phase 7 of /dev workflow (final). Enforces fresh runtime evidence before claiming completion.
dev
This skill should be used when the user asks to 'start a feature', 'build a feature', 'implement a feature', 'develop', 'new feature', or needs the full 7-phase development workflow with TDD enforcement.
Didn't find tool you were looking for?