<< All versions
Skill v1.0.1
currentAutomated scan100/100davis7dotsh/better-context/btca-cli
4 files
──Details
PublishedMay 14, 2026 at 09:31 PM
Content Hashsha256:de15feb1114aa1bb...
Git SHA864e5ba45256
Bump Typepatch
──Files
Files (1 file, 2.0 KB)
SKILL.md2.0 KBactive
SKILL.md · 66 lines · 2.0 KB
version: "1.0.1" name: btca-cli description: Operate the btca CLI for local resources and source-first answers. Use when setting up btca in a project, connecting a provider, adding or managing resources, and asking questions via btca commands. Invoke this skill when the user says "use btca" or needs to do more detailed research on a specific library or framework.
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:
bash
# Git resourcebtca add -n svelte-dev https://github.com/sveltejs/svelte.dev# Local directorybtca add -n my-docs -t local /absolute/path/to/docs# npm packagebtca add npm:@types/node@22.10.1 -n node-types -t npm
Verify resources:
bash
btca resources
Ask a question:
bash
btca ask -r svelte-dev -q "How do I define remote functions?"
Common Tasks
- Ask with multiple resources:
bash
btca ask -r react -r typescript -q "How do I type useState?"
- Ask with anonymous one-off resources (not saved to config):
bash
# One-off git repobtca ask -r https://github.com/sveltejs/svelte -q "Where is the implementation of writable stores?"# One-off npm packagebtca 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.