docs-mcp-server: Skill for Claude Code

.agents/skills/add-tenant/SKILL.md

add-tenant is a skill for Claude Code, Codex from pankaj28843/docs-mcp-server. It costs 29 tokens per session (4,687 once invoked), scanned C, original, MIT.

A guide for adding documentation sources to a deployment configuration. Sources can be Git repositories, documentation websites, or existing local Markdown and HTML folders.

In plain words
What is it for?
Use it to add searchable documentation tenants from Git hosting, online sites, or local files, then validate and deploy their configuration.
Why use it?
It standardizes how new documentation is registered and checks the configuration before deployment. It also creates a backup so the previous configuration can be recovered.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is pankaj28843/docs-mcp-server's own configuration. It tells Claude Code and Codex how to work on docs-mcp-server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything docs-mcp-server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pankaj28843/docs-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pankaj28843/docs-mcp-server/main/.agents/skills/add-tenant/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pankaj28843/docs-mcp-server

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for add-tenant

README.md
[![agentmods](https://agentmods.dev/badge/skills/pankaj28843/docs-mcp-server/add-tenant/github.svg)](https://agentmods.dev/skills/pankaj28843/docs-mcp-server/add-tenant)
Your own site
<a href="https://agentmods.dev/skills/pankaj28843/docs-mcp-server/add-tenant"><img src="https://agentmods.dev/badge/skills/pankaj28843/docs-mcp-server/add-tenant/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.

agentmods 80×15 button for add-tenant

Your own site · 80×15
<a href="https://agentmods.dev/skills/pankaj28843/docs-mcp-server/add-tenant"><img src="https://agentmods.dev/badge/skills/pankaj28843/docs-mcp-server/add-tenant.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,687 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.04687
Opus 5 $0.00015 $0.02344
Sonnet 5 $0.00006 $0.00937
Haiku 4.5 $0.00003 $0.00469

Measured 9d ago against content hash 02da7750c73e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade C, and why

add-tenant scanned grade C with 2 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 9d 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

sleep 15 && curl -sf http://127.0.0.1:42042/health | python3 -c "

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

sleep 15 && curl -sf http://127.0.0.1:42042/health | python3 -c "
.agents/skills/add-tenant/SKILL.md · 453 lines

How it starts

The opening of the file, as written. The whole thing — 453 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Add New Tenant Workflow

Add documentation sources as searchable tenants. Supports three source types:

  • git — GitHub/GitLab repos with sparse checkout
  • online — Documentation websites crawled via sitemap or entry URLs
  • filesystem — Pre-existing local Markdown/HTML directories

Step 0: Backup deployment.json

ALWAYS back up before any changes. deployment.json is untracked (git-ignored).

mkdir -p tmp/backups && cp deployment.json "tmp/backups/deployment.json.$(date +%Y%m%d-%H%M%S)"

Step 1: Study existing tenants of the same type

Before adding anything, sample 2-3 existing tenants of the same source_type to match conventions.

python3 -c "
import json
with open('deployment.json') as f:
    config = json.load(f)
for t in config['tenants']:
    if t['source_type'] == '<TYPE>':  # git | online | filesystem
        print(json.dumps(t, indent=2))
        print()
" | head -80

Also list all codenames to check for duplicates:

python3 -c "import json; d=json.load(open('deployment.json')); print(json.dumps(sorted([t['codename'] for t in d['tenants']])))"

Step 2: Determine tenant configuration

For git tenants (GitHub repos)

Identify from the URL:

  • git_branch: Usually main or master — check the repo's default branch
  • git_subpaths: The subdirectory containing docs (e.g., ["docs"], ["cheatsheets"])
  • git_strip_prefix: Usually matches git_subpaths[0] to flatten the directory structure
  • search.analyzer_profile: Use "code-friendly" for code-heavy repos, "default" otherwise

Required fields:

{
  "source_type": "git",
  "codename": "<lowercase-hyphen-name>",
  "docs_name": "<Human Readable Name>",
  "git_repo_url": "https://github.com/<org>/<repo>.git",
  "git_branch": "main",
  "git_subpaths": ["<subpath>"],
  "git_strip_prefix": "<subpath>",
  "docs_root_dir": "./mcp-data/<codename>",
  "refresh_schedule": "<M> <H> <cron-tail>"
}

Optional fields:

  • git_auth_token_env: Env var name for private repo PAT (e.g., "GITHUB_TOKEN")
  • git_sync_interval_minutes: Override sync cadence (5-1440 min)
  • search.analyzer_profile: "default" | "aggressive-stem" | "code-friendly"

Read the full file on GitHub · 453 lines

Changes

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.

  1. 9d ago First seen · 453 lines · 29 tokens per session scan C 02da7750c73e

Subscribe to this mod's changes

add-tenant is a skill published in the GitHub repository pankaj28843/docs-mcp-server (2 stars, last pushed 11d ago), licensed MIT. It adds 29 tokens to every session and 4,687 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

rival-search-mcp

Deterministic deep research via RivalSearchMCP. 9 tools: 5-engine web search (DuckDuckGo/Bing/Yahoo/Mojeek/Wikipedia), 9-platform social search (Reddit/HN/StackOverflow/Dev.to/Medium/ProductHunt/Bluesky/Lobste.rs/Lemmy), 5-source news (Google/Bing/Guardian/GDELT/DDG), 5 academic DBs…

damionrashford/RivalSearchMCP · 151 tokens

book-to-skill

Book-to-skill takes technical books, documentation, or other long-form sources and converts them into a skill made of a core definition plus per-chapter files, a glossary, and cheatsheets, so an agent can load only the relevant section instead of the whole document. It supports PDF, EPUB, DOCX, HTML, and several other…

best-of-ai/best-of-ai · 75 tokens

apply-distributed-team-practices

Use when managing a team where members work in different locations, time zones, or on hybrid schedules — to adapt management practices so remote members have equal access to information, relationships, and advancement opportunities as in-office members.

jeffreytse/grimoire-core · 51 tokens

run-performance-improvement-plan

Use when a direct report has a documented pattern of performance falling below role expectations — after informal feedback has not produced sustained change — to create a structured, time-bound plan with clear success criteria before making a continuation decision.

jeffreytse/grimoire-core · 49 tokens

blameless-postmortem

Write a blameless incident postmortem — timeline, impact, root cause, and concrete follow-ups, focused on systems not people.

IkarusMK/AIcortex · 35 tokens

design-honest-record-keeping

Use when designing or auditing your organization's documentation practices — to establish institutional norms for recording events, failures, and decisions accurately and without euphemism, because institutions that record reality honestly have better learning loops and accountability than those that soften or omit…

jeffreytse/grimoire-core · 59 tokens