# All Tags Maintenance

> >

- **Type:** Skill
- **Install:** `agentstack add skill-pbeens-obsidian-agents-md-all-tags-maintenance`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [pbeens](https://agentstack.voostack.com/s/pbeens)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [pbeens](https://github.com/pbeens)
- **Source:** https://github.com/pbeens/obsidian-agents.md/tree/main/skills/all-tags-maintenance

## Install

```sh
agentstack add skill-pbeens-obsidian-agents-md-all-tags-maintenance
```

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

## About

# All Tags Maintenance

Use this skill when the tag inventory needs to be regenerated from the vault contents.

## Purpose

Rebuild `ALL-TAGS.txt` so it reflects the current vault tag inventory.

## Core Rules

- Read every note markdown file in the vault unless the user explicitly narrows the scope.
- Exclude infrastructure and tooling files unless the user asks otherwise: `.agents/`, `.obsidian/`, `.git/`, `skills/`, `scripts/`, `AGENTS.md`, `tasks.md`, `README.md`, `index.md`, `log.md`, and `ALL-TAGS.txt`.
- Count literal tag occurrences, not unique pages.
- Preserve the exact tag spelling and case that appears in the source.
- Include tags from frontmatter and inline Markdown.
- Ignore false positives from code blocks, inline code, and URL fragments when possible.
- Write the results back to `ALL-TAGS.txt` in the same `#Tag (count)` format already used.
- Sort the output alphabetically by tag text.
- Keep the file to one tag per line.

## Workflow

1. Scan the vault for tag occurrences, preferably by running `scripts/refresh_all_tags.py`.
2. Aggregate counts by exact tag text.
3. Sort alphabetically.
4. Rewrite `ALL-TAGS.txt` in the existing format.
5. Spot-check a few known tags for sanity.
6. Update `tasks.md` if the refresh is part of an active maintenance pass.

## Counting Guidance

- Treat `#AI`, `#ai`, and `#AI-in-Education` as distinct tags if they appear that way in source notes.
- Do not normalize casing unless the user explicitly asks for normalization.
- Do not rename tags just because a better controlled vocabulary exists.
- If the user wants taxonomy cleanup, use the tag-taxonomy workflow separately.

## Output Expectations

When this skill runs, the expected output is:

- an updated `ALL-TAGS.txt`
- a short note in `tasks.md` if this was part of a broader maintenance pass

## Source & license

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

- **Author:** [pbeens](https://github.com/pbeens)
- **Source:** [pbeens/obsidian-agents.md](https://github.com/pbeens/obsidian-agents.md)
- **License:** MIT

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-pbeens-obsidian-agents-md-all-tags-maintenance
- Seller: https://agentstack.voostack.com/s/pbeens
- 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%.
