Borrowing it
Nothing to install: this file belongs to SumoLogic/sumologic-documentation. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/SumoLogic/sumologic-documentation/main/.claude/commands/remove-doc.mdgit clone --depth 1 https://github.com/SumoLogic/sumologic-documentationWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/sumologic/sumologic-documentation/remove-doc)<a href="https://agentmods.dev/commands/sumologic/sumologic-documentation/remove-doc"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/remove-doc/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/sumologic/sumologic-documentation/remove-doc"><img src="https://agentmods.dev/badge/commands/sumologic/sumologic-documentation/remove-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01574 |
| Opus 5.5 | $0.00000 | $0.00630 |
| Sonnet 5.5 | $0.00000 | $0.00315 |
| Haiku 4.5 | $0.00000 | $0.00157 |
Grade A, and why
remove-doc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Remove or Move Doc — Safe Deprecation Workflow
Automates the complete workflow for removing or moving a Sumo Logic doc while preventing broken links and maintaining SEO health.
What this command does
When you invoke /remove-doc, Claude will guide you through:
- Create 301 redirect. Add redirect mapping to
cid-redirects.json. - Update internal links. Find and replace all references to the old URL.
- Remove from hub pages. Delete card from parent
index.mdand Product List. - Delete the doc file. Remove the actual markdown file.
- Remove from navigation. Delete entry from
sidebars.ts. - Optional steps. Add deprecation notes, hide from search engines.
When to use this command
- Deprecating legacy docs in favor of new versions.
- Consolidating duplicate content.
- Removing outdated documentation.
- Moving docs to new locations.
Workflow
Step 1: Gather information
Ask the user for:
- Old doc path: The file path being removed (e.g.,
docs/integrations/web-servers/nginx-legacy.md). - New doc path: The replacement doc path (e.g.,
docs/integrations/web-servers/nginx.md). - Reason: Why the doc is being removed (for context).
Step 2: Create 301 redirect
- Read
cid-redirects.json. - Convert the old file path to a URL path (remove
docs/prefix, remove.mdextension). - Convert the new file path to a URL path.
- Add the redirect mapping:
"/docs/old-path": "/docs/new-path", - Validate JSON syntax after adding.
Safety check: Ensure the new doc path actually exists before creating the redirect.
Step 3: Update internal links
- Use Grep to search for references to the old URL across all docs:
- Search for the old file path (without
docs/and.md). - Search for relative path variations.
- Search for
useBaseUrlreferences.
- Search for the old file path (without
- Show the user all files that reference the old URL.
- For each file, replace old URL with new URL (one by one, not Find All > Replace All).
- Check for references in:
- Other markdown docs.
- Parent hub/index pages.
- Product List (
docs/integrations/product-list/).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 199 lines · 0 tokens per session scan A d8dcc054a96a
remove-doc is a command published in the GitHub repository SumoLogic/sumologic-documentation (42 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,574 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
remove-doc compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| remove-docSumoLogic/sumologic-documentation | Command | 42 | yesterday | MIT | A | 0 | Claude Code |
| resume-cover-letterjezweb/claude-skills | Command | 1.1k | 28d ago | MIT | A | 12 | Claude Code |
| quotetdimino/claude-code-minoan | Command | 41 | yesterday | MIT | A | 0 | Claude Code |
| cliJNTMTMTM/eIsland | Command | 335 | yesterday | GPL-3.0 | A | 0 | Claude Code |
| canvasAgriciDaniel/claude-canvas | Command | 303 | 7mo ago | MIT | A | 25 | Claude Code |
| gpd:settingspsi-oss/get-physics-done | Command | 973 | 3mo ago | none | A | 36 | Claude Code |
| gpd:updatepsi-oss/get-physics-done | Command | 973 | 3mo ago | none | A | 14 | Claude Code |