btca-cli

davis7dotsh/better-context · updated Apr 8, 2026

$npx skills add https://github.com/davis7dotsh/better-context --skill btca-cli
0 commentsdiscussion
summary

Source-first CLI for grounding questions in git repos, local directories, and npm packages.

  • Add and manage resources (git repositories, local directories, npm packages) via btca add , then query them with btca ask using resource names or anonymous one-off URLs
  • Ask questions across multiple resources simultaneously to cross-reference answers and connect concepts
  • Configuration stored in btca.config.jsonc at project and global levels; project config overrides global settings and control
skill.md

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

  • 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.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.639 reviews
  • Chinedu Choi· Dec 20, 2024

    I recommend btca-cli for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Dhruvi Jain· Dec 8, 2024

    btca-cli has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Mei Lopez· Dec 8, 2024

    Solid pick for teams standardizing on skills: btca-cli is focused, and the summary matches what you get after install.

  • Pratham Ware· Dec 4, 2024

    btca-cli is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Oshnikdeep· Nov 27, 2024

    Solid pick for teams standardizing on skills: btca-cli is focused, and the summary matches what you get after install.

  • Michael Bhatia· Nov 27, 2024

    btca-cli has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • Aisha Gill· Nov 11, 2024

    Keeps context tight: btca-cli is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Ganesh Mohane· Oct 18, 2024

    We added btca-cli from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Diya Shah· Oct 18, 2024

    Useful defaults in btca-cli — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • Ama Flores· Oct 2, 2024

    Registry listing for btca-cli matched our evaluation — installs cleanly and behaves as described in the markdown.

showing 1-10 of 39

1 / 4