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.
curl -O https://raw.githubusercontent.com/pankaj28843/docs-mcp-server/main/.agents/skills/add-tenant/SKILL.mdgit clone --depth 1 https://github.com/pankaj28843/docs-mcp-serverWrote 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/skills/pankaj28843/docs-mcp-server/add-tenant)<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.
<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>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.00029 | $0.04687 |
| Opus 5 | $0.00015 | $0.02344 |
| Sonnet 5 | $0.00006 | $0.00937 |
| Haiku 4.5 | $0.00003 | $0.00469 |
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 " 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: Usuallymainormaster— check the repo's default branchgit_subpaths: The subdirectory containing docs (e.g.,["docs"],["cheatsheets"])git_strip_prefix: Usually matchesgit_subpaths[0]to flatten the directory structuresearch.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"
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.
- 9d ago First seen · 453 lines · 29 tokens per session scan C 02da7750c73e
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.
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…
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…
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.
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.
blameless-postmortem
Write a blameless incident postmortem — timeline, impact, root cause, and concrete follow-ups, focused on systems not people.
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…