doc-freshness-auditor
Skill3 starsChanged 3 days agoApache-2.0View on GitHub
Audit documentation URLs and files for staleness by checking commit dates, release tags, and version history. Use when analysis relies on documentation that may be outdated or when building source-of-truth references.
In this repository37 other files it gives its agents.
- docs/manual/agents.mdAGENTS.md
- ablate-combined-changesSkill
- agent-supervisor-methodologySkill
- benchmark-comparisonSkill
- browser-vlm-acceptanceSkill
- claim-verificationSkill
- claude-code-best-practicesSkill
- code-attributionSkill
- comms-connectSkill
- condition-based-waitingSkill
- conference-intelligenceSkill
- deep-research-methodologySkill
- defense-in-depthSkill
- detect-deployment-thrashingSkill
- directory-cross-examinationSkill
- eval-harnessSkill
- github-comment-managerSkill
- github-deep-researchSkill
- github-issue-responseSkill
- harness-setupSkill
- issue-closure-strategistSkill
- issue-quality-assessmentSkill
- k8s-configmap-runtime-patchSkill
- k8s-config-persistence-trapSkill
- maintainer-profilingSkill
- measure-before-theorizeSkill
- multi-phase-optimization-campaignSkill
- phase-trackerSkill
- pptx-slide-creationSkill
- pr-issue-scannerSkill
- public-root-reproducibilitySkill
- repo-organizerSkill
- root-cause-tracingSkill
- technique-versioning-workflowSkill
- wrong-layer-debuggingSkill
- wrong-theory-cascade-preventionSkill
- youtube-transcriberSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Check whether documentation sources are current or stale before using them as evidence in analysis or recommendations.
- Distinctive: line 114
Before building analysis documents from multiple documentation sources
- Distinctive: line 115
When a user says "some of these documents are outdated"
- Distinctive: line 116
Before recommending configurations based on documentation
- Distinctive: line 117
When cross-referencing between official docs and source code
- Distinctive: line 118
After a major version release (check if docs reflect new version)
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation Freshness Auditor Skill
Check whether documentation sources are current or stale before using them as evidence in analysis or recommendations.
Usage
/doc-freshness-auditor [path-or-url-list]Workflow
Step 1: Collect All Documentation References
Extract every URL and file reference from the target document:
# Extract URLs from a markdown file
grep -oP 'https?://[^\s)>"]+' DOCUMENT.md | sort -u
# Extract file path references
grep -oP '`[^`]*\.(md|txt|yaml|json|py|cpp|h)`' DOCUMENT.md | sort -uStep 2: Check Each Source
For GitHub URLs
# Get last commit date for a file
gh api repos/OWNER/REPO/commits?path=PATH&per_page=1 | \
jq -r '.[0].commit.committer.date'
# Get release tags and dates
gh release list --repo OWNER/REPO --limit 10
# Check if file exists in current main
gh api repos/OWNER/REPO/contents/PATH 2>/dev/null && echo "EXISTS" || echo "NOT FOUND"For Web Documentation
# Check last-modified header
curl -sI URL | grep -i "last-modified"
# Check page content for version numbers
curl -s URL | grep -oP 'version[:\s]*[\d.]+' | head -5For Local Files
# Check modification date
stat -c '%Y %n' FILE | while read ts name; do
echo "$(date -d @$ts '+%Y-%m-%d') $name"
done
# Check if file references deprecated versions
grep -n "v0\.\|deprecated\|removed\|obsolete" FILEStep 3: Score Freshness
| Age | Rating | Action |
| < 30 days | FRESH | Use as-is |
| 30-90 days | RECENT | Verify key claims still hold |
| 90-180 days | AGING | Cross-reference with newer sources |
| 180+ days | STALE | Find replacement or verify against current code |
| File not found | DEAD | Remove reference entirely |
Step 4: Check Version Alignment
For each documentation source, verify:
- Does the doc reference the same software version you're using?
- Has the API/config changed between the documented version and current?
- Are there deprecation notices for anything mentioned in the doc?
# Compare documented version vs current
DOCUMENTED_VERSION=$(grep -oP 'version[:\s]*[\d.]+' DOC | head -1)
CURRENT_VERSION=$(gh release list --repo OWNER/REPO --limit 1 | awk '{print $1}')
echo "Doc: $DOCUMENTED_VERSION, Current: $CURRENT_VERSION"Step 5: Generate Report
# Documentation Freshness Audit
**Audited:** YYYY-MM-DD
**Source document:** [path]
## Summary
- Total sources: N
- FRESH: N
- RECENT: N
- AGING: N
- STALE: N
- DEAD: N
## Details
| Source | Last Updated | Rating | Version Match | Notes |
|--------|-------------|--------|---------------|-------|
| URL/file | YYYY-MM-DD | FRESH | Yes/No | ... |When to Use
- Before building analysis documents from multiple documentation sources
- When a user says "some of these documents are outdated"
- Before recommending configurations based on documentation
- When cross-referencing between official docs and source code
- After a major version release (check if docs reflect new version)
<!-- imported on 2026-10-31 by tools/import-skills.py from a native Claude Code instance's skill library; the source site's names, ids, hosts and paths are scrubbed to <placeholders>; its other files were not copied -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

