btca-cli

📁 bmdavis419/better-context 📅 9 days ago
1
总安装量
1
周安装量
#42844
全站排名
安装命令
npx skills add https://github.com/bmdavis419/better-context --skill btca-cli

Agent 安装分布

replit 1
amp 1
opencode 1
kimi-cli 1
codex 1
github-copilot 1

Skill 文档

btca CLI

Setup From Scratch

  1. Ensure Bun is installed (see https://bun.sh if needed).
  2. Install the btca CLI globally:
bun add -g btca
  1. Initialize the project from the repo root:
btca init

Choose CLI for local resources.

  1. Connect a provider and model:
btca connect

Follow the prompts.

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

# Local directory
btca add -n my-docs -t local --path /absolute/path/to/docs
  1. Verify resources:
btca resources
  1. Ask a question:
btca ask -r svelte-dev -q "How do I define remote functions?"
  1. Optional TUI:
btca

Common Tasks

  • Ask with multiple resources:
btca ask -r react -r typescript -q "How do I type useState?"
  • You can see which resources are configured with btca 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.