
Btca Cli
- 727 installs
- 1.2k repo stars
- Updated April 12, 2026
- davis7dotsh/better-context
btca-cli is a Claude skill that operates the btca source-first research CLI to hydrate git repos, local folders, and npm packages into searchable, source-grounded context for developers using coding agents.
About
btca-cli is a Claude skill for the btca CLI, a source-first research tool that hydrates resources—git repositories, local directories, and npm packages—into searchable context before answering questions. Developers configure providers, add managed resources for ongoing projects, or run one-off anonymous lookups when exploring unfamiliar libraries. Reach for btca-cli when a user says "use btca," needs btca setup in a repo, or wants deeper framework research grounded in actual source files instead of model recall. The workflow covers provider connection, resource management, and query commands that return answers tied to hydrated sources, improving accuracy for integration work, API usage, and dependency debugging.
- Hydrates git, local, and npm resources into searchable context
- Supports both persistent configured resources and anonymous one-off queries
- Runs source-first research with btca ask using multiple resources in one command
- Provides verifiable, grounded answers instead of hallucinated library knowledge
- Integrates directly with Claude Code, Cursor, and other agents via CLI
Btca Cli by the numbers
- 727 all-time installs (skills.sh)
- Ranked #1,398 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: MEDIUM risk (skills.sh audit)
- Data as of Aug 2, 2026 (Skillselion catalog sync)
npx skills add https://github.com/davis7dotsh/better-context --skill btca-cliAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 727 |
|---|---|
| repo stars | ★ 1.2k |
| Security audit | 2 / 3 scanners passed |
| Last updated | April 12, 2026 |
| Repository | davis7dotsh/better-context ↗ |
How do you ground agent answers in real library source code?
Hydrate git repos, local folders, and npm packages into accurate, source-grounded context for their coding agent.
Who is it for?
Developers integrating unfamiliar npm packages or internal git repos who need the coding agent to cite real source instead of hallucinated APIs.
Skip if: Developers who only need general documentation summaries without local hydration or btca CLI installation.
When should I use this skill?
The user says use btca, asks to set up btca resources, or needs detailed research on a specific library or framework.
What you get
Configured btca resources, hydrated source indexes, and source-cited CLI answers for repos or packages.
- Hydrated resource indexes
- source-grounded CLI answers
- btca project configuration
Files
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/node@22.10.1 -n node-types -t npmVerify resources:
btca resourcesAsk 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:react@19.0.0 -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-runbtca resources. - "Provider not connected": run
btca connectand follow the prompts. - "Unknown resource": use
btca resourcesfor configured names, or pass a valid HTTPS git URL /npm:<package>as an anonymous one-off inbtca ask.
interface:
display_name: "BTCA CLI"
short_description: "Help with BTCA CLI setup and usage workflows"
Related skills
How it compares
Choose btca-cli for CLI-hydrated source research; use inline @docs or MCP doc servers when hydration and btca resource management are not required.
FAQ
What resource types does btca-cli support?
btca-cli operates the btca CLI for hydrating git repositories, local folders, and npm packages. Each resource type is indexed so subsequent btca queries return answers grounded in that source material.
When should developers invoke btca-cli?
btca-cli applies when users say "use btca," need btca project setup, want to connect a provider, manage resources, or require detailed research on a specific library or framework via btca commands.
Is Btca Cli safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.