using-docshark

using-docshark is a skill for Claude Code, Codex from Michael-Obele/docshark. It costs 35 tokens per session (419 once invoked), scanned A, original, MIT.

Instructions for installing, running, and troubleshooting DocShark as an MCP server. An MCP server lets an AI client access an external tool or data source through a standard connection.

In plain words
What is it for?
Use it to start DocShark over a local process or HTTP, add and search documentation libraries, refresh or rename them, and check server health.
Why use it?
It explains the available startup modes, endpoints, data location, library commands, and checks to use when the client cannot connect or searches return nothing.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/michael-obele/docshark/using-docshark
Any agent
npx skills add Michael-Obele/docshark --skill using-docshark
Clone the repo
git clone --depth 1 https://github.com/Michael-Obele/docshark

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 using-docshark

README.md
[![agentmods](https://agentmods.dev/badge/skills/michael-obele/docshark/using-docshark.svg)](https://agentmods.dev/skills/michael-obele/docshark/using-docshark)
Your own site
<a href="https://agentmods.dev/skills/michael-obele/docshark/using-docshark"><img src="https://agentmods.dev/badge/skills/michael-obele/docshark/using-docshark.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 419 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00035 $0.00419
Opus 5 $0.00017 $0.00210
Sonnet 5 $0.00007 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured 4d ago against content hash 473629cd9fd3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-docshark 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 4d 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.

skills/using-docshark/SKILL.md · 69 lines

What it actually says

Operating DocShark

Start Modes

STDIO mode (MCP clients)

docshark --stdio

or

npx docshark --stdio

Use STDIO when a client launches DocShark as a subprocess MCP server.

HTTP mode

docshark

Default HTTP port is 6380 (override with --port).

HTTP endpoints:

  • /mcp
  • /sse
  • /api
  • /api/health

Data Directory

  • Default data directory: ~/.docshark
  • Override with:
    • CLI: --data-dir <path>
    • Env: DOCSHARK_DATA_DIR

Core CLI Operations

  • docshark add <url>
  • docshark list
  • docshark search <query>
  • docshark refresh <name>
  • docshark rename <current-name> <new-name>
  • docshark remove <name>
  • docshark get [url] --library <name> --path <path>

Troubleshooting

  • No search results:
    1. Verify with docshark list.
    2. Refresh with docshark refresh <library>.
    3. Re-run with a clearer natural-language query.
  • Client cannot connect in STDIO mode:
    1. Verify startup command is docshark --stdio or npx docshark --stdio.
    2. Ensure docshark is on PATH if not using npx.
  • HTTP mode not reachable:
    1. Confirm process is running.
    2. Check /api/health.
    3. Confirm chosen --port is available.
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. 4d ago First seen · 69 lines · 35 tokens per session scan A 473629cd9fd3

Subscribe to this mod's changes

using-docshark is a skill published in the GitHub repository Michael-Obele/docshark (2 stars, last pushed 3mo ago), licensed MIT. It adds 35 tokens to every session and 419 once invoked, about $0.0002 per session on Opus 5. 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-31.

Related

Other skills, from other repositories

init-workspace-documentation

Skill "init-workspace-documentation" from griddynamics/rosetta, covering agent memory.md, agent memory, preventive rules, what worked and what failed.

griddynamics/rosetta · 10 tokens

servicenow-sdk-docs-builder

Automation skill to generate or update the servicenow-sdk-docs documentation skill by fetching and processing the ServiceNow SDK and Examples repositories. It combines READMEs, extracts code samples, harvests the SDK CLI/auth docs, and creates a self-contained, portable documentation skill.

Knuckles-Team/servicenow-api · 65 tokens

alcove

HTTP API-based documentation server (always running). Questions about project architecture, conventions, decisions, code structure, tech debt, env config, progress, or doc health. Also: init project, audit docs, lint, validate, promote note, rebuild index, search vaults.

epicsagas/alcove · 58 tokens

init

Bootstrap docaudit for a repo, or add and refresh its optional local documentation harness. Use when the user asks to set up docaudit, initialize the doc-audit harness, or run docaudit on a repo that lacks /check-docs / /review-docs / doc-lint. Inventories the repo, proposes a doc-audit.json config for approval…

akira993/doc-audit-harness · 101 tokens

zig-docs-mcp

Connect Prime Agent to the local zig-docs-mcp MCP server for always-fresh official Zig documentation of the latest release, std-library symbol docs from released sources, curated high-performance lightweight-software guidance, and safe local Zig toolchain auto-update prompts. Use when writing, reviewing, or debugging…

gbrlpzz/zig-docs-mcp · 79 tokens

ovellum-docs

Set up and maintain Ovellum documentation for a TypeScript or JavaScript project — scaffold, build, validate, and safely edit generated docs whose hand-written prose survives regeneration. Use when the user wants to create, build, or maintain docs with Ovellum, or asks about protected zones, orphans, llms.txt, or the…

oinam/ovellum · 79 tokens