Agent skill
audit-archive
Phase 6: Archive URLs via perma.cc
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/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
BB_SCRIPTS=$(${CLAUDE_PLUGIN_ROOT}/skills/bluebook-audit/scripts) && python3 "$BB_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_PLUGIN_ROOT}/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.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?