# Claude Docs Validate

> >

- **Type:** Skill
- **Install:** `agentstack add skill-costiash-claude-code-docs-claude-docs-validate`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [costiash](https://agentstack.voostack.com/s/costiash)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [costiash](https://github.com/costiash)
- **Source:** https://github.com/costiash/claude-code-docs/tree/main/plugin/skills/claude-docs-validate
- **Website:** https://costiash.github.io/claude-code-docs/

## Install

```sh
agentstack add skill-costiash-claude-code-docs-claude-docs-validate
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Claude Documentation Validation Skill

Check whether the local documentation mirror at `~/.claude-code-docs/` is healthy and up-to-date.

## When to Use This Skill

Activate when the user asks about:
- Documentation freshness or staleness
- Broken links or unreachable docs
- Health checks on their local mirror
- Whether docs need updating

## Validation Workflow

### Step 1: Check if docs exist

Verify `~/.claude-code-docs/docs/` exists and contains `.md` files. If not:
> Documentation not found. Run this in Claude Code to install:
> ```
> /plugin marketplace add costiash/claude-code-docs
> /plugin install claude-docs@claude-code-docs
> ```

### Step 2: Check freshness via git

```bash
cd ~/.claude-code-docs && git log -1 --format="%ci %s"
```

Report when docs were last updated. If older than 24 hours, suggest:
```bash
cd ~/.claude-code-docs && git pull
```

### Step 3: Run URL validation (if user asks for it)

For a quick spot-check (recommended first):
```bash
bash ~/.claude-code-docs/plugin/skills/claude-docs-validate/scripts/validate-paths.sh --quick
```

For a full scan (all docs — takes 1-2 minutes):
```bash
bash ~/.claude-code-docs/plugin/skills/claude-docs-validate/scripts/validate-paths.sh
```

### Step 4: Present results

- Report summary: total checked, reachable, broken, timed out
- For broken paths, suggest:
  - Run `cd ~/.claude-code-docs && git pull` to get latest
  - If still broken after pull, the upstream page may have moved
  - Report persistent issues at https://github.com/costiash/claude-code-docs/issues

### Step 5: Doc statistics (if user asks for stats/count)

Report documentation coverage:
```bash
# Total docs
ls ~/.claude-code-docs/docs/*.md | wc -l

# By category
echo "Claude Code:  $(ls ~/.claude-code-docs/docs/claude-code__*.md 2>/dev/null | wc -l)"
echo "Agent SDK:    $(ls ~/.claude-code-docs/docs/docs__en__agent-sdk__*.md 2>/dev/null | wc -l)"
echo "API Reference:$(ls ~/.claude-code-docs/docs/docs__en__api__*.md 2>/dev/null | wc -l)"
echo "Build Guides: $(ls ~/.claude-code-docs/docs/docs__en__build-with-claude__*.md 2>/dev/null | wc -l)"
echo "Tools:        $(ls ~/.claude-code-docs/docs/docs__en__agents-and-tools__*.md 2>/dev/null | wc -l)"
```

## Troubleshooting

| Issue | Solution |
|---|---|
| "Documentation not found" | Plugin not installed or docs not cloned. Re-run `/plugin install claude-docs@claude-code-docs` |
| Many broken URLs | Likely a sitemap change. Run `git pull` first, then re-validate |
| Timeout errors | Network issue or Anthropic site is slow. Try again later |
| "Permission denied" | Check that `~/.claude-code-docs/` is readable |

## Reference Files

- `examples/validate-docs.md` — Example validation workflow

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [costiash](https://github.com/costiash)
- **Source:** [costiash/claude-code-docs](https://github.com/costiash/claude-code-docs)
- **License:** MIT
- **Homepage:** https://costiash.github.io/claude-code-docs/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-costiash-claude-code-docs-claude-docs-validate
- Seller: https://agentstack.voostack.com/s/costiash
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
