mcphost: Skill for Codex

.agents/skills/btca-cli/SKILL.md

btca-cli is a skill for Codex from mark3labs/mcphost. It costs 70 tokens per session (512 once invoked), scanned A, original, MIT.

A command-line research tool for asking questions about source material such as Git repositories, local folders, and npm packages. It searches those resources and grounds answers in their contents.

In plain words
What is it for?
Use it to add sources, inspect configured resources, and ask questions about projects, documentation, or package versions.
Why use it?
It reduces the need to rely on memory or broad web searches when you need answers about a specific library or codebase.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is mark3labs/mcphost's own configuration. It tells Codex how to work on mcphost 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 mcphost configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mark3labs/mcphost. 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/mark3labs/mcphost/main/.agents/skills/btca-cli/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mark3labs/mcphost

Made for: 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 btca-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark3labs/mcphost/btca-cli/github.svg)](https://agentmods.dev/skills/mark3labs/mcphost/btca-cli)
Your own site
<a href="https://agentmods.dev/skills/mark3labs/mcphost/btca-cli"><img src="https://agentmods.dev/badge/skills/mark3labs/mcphost/btca-cli/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 btca-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/mark3labs/mcphost/btca-cli"><img src="https://agentmods.dev/badge/skills/mark3labs/mcphost/btca-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00070 $0.00512
Opus 5.5 $0.00028 $0.00205
Sonnet 5.5 $0.00014 $0.00102
Haiku 4.5 $0.00007 $0.00051

Measured 2mo ago against content hash de15feb1114a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

btca-cli 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • btca-cli — 100% identical, 0 lines differ
.agents/skills/btca-cli/SKILL.md · 65 lines

What it actually says

btca CLI

btca is a source-first research CLI. It hydrates resources (git, local, npm) into searchable context, then answers questions grounded in those sources. Use configured resources for ongoing work, or one-off anonymous resources directly in btca ask.

Full CLI reference: https://docs.btca.dev/guides/cli-reference

Add resources:

# Git resource
btca add -n svelte-dev https://github.com/sveltejs/svelte.dev

# Local directory
btca add -n my-docs -t local /absolute/path/to/docs

# npm package
btca add npm:@types/[email protected] -n node-types -t npm

Verify resources:

btca resources

Ask a question:

btca ask -r svelte-dev -q "How do I define remote functions?"

Common Tasks

  • Ask with multiple resources:
btca ask -r react -r typescript -q "How do I type useState?"
  • Ask with anonymous one-off resources (not saved to config):
# One-off git repo
btca ask -r https://github.com/sveltejs/svelte -q "Where is the implementation of writable stores?"

# One-off npm package
btca ask -r npm:[email protected] -q "How is useTransition exported?"

Config Overview

  • Config lives in btca.config.jsonc (project) and ~/.config/btca/btca.config.jsonc (global).
  • Project config overrides global and controls provider/model and resources.

Troubleshooting

  • "No resources configured": add resources with btca add ... and re-run btca resources.
  • "Provider not connected": run btca connect and follow the prompts.
  • "Unknown resource": use btca resources for configured names, or pass a valid HTTPS git URL / npm:<package> as an anonymous one-off in btca ask.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 65 lines · 70 tokens per session scan A de15feb1114a

Subscribe to this mod's changes

btca-cli is a skill published in the GitHub repository mark3labs/mcphost (1,591 stars, last pushed 6mo ago), licensed MIT. It adds 70 tokens to every session and 512 once invoked, about $0.0003 per session on Opus 5.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-30.

Related

btca-cli compared with skills from other repositories

btca-cli next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
btca-climark3labs/mcphostSkill1.6k6mo agoMITA70Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code