
Btca Cli
This lets Claude run btca commands to ground answers in actual source code from git repos, local directories, or npm packages. You'd reach for it when you need detailed research on a specific library or framework, like asking how Svelte implements writable stores or how React exports useTransition. It works with persistent resources you've added to your config or one-off anonymous sources inline. The real value is keeping Claude anchored to canonical source instead of general knowledge, which matters when you're debugging integration issues or learning a library's internals. Fair warning: you need btca installed and configured first, so there's setup overhead before this becomes useful.
- skills.sh installs
- 725
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davis7dotsh/better-context --skill btca-cli --agent claude-codeInstalls into .claude/skills of the current project.
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 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:react@19.0.0 -q "How is useTransition exported?"
Config Overview
Sponsors
Details
- Repository
- github.com/davis7dotsh/better-context
- Categories
- Data Science & ML, CLI & Terminal
- First seen
- Apr 16, 2026