A source-first research CLI that answers library and framework questions from hydrated git, local, and npm resources.

CCM score
60 of 100
skills.sh installs
727
GitHub stars
1.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers adding, verifying, and querying resources, with btca add, btca resources, and btca ask as the core commands
  • Supports multi-resource queries and anonymous one-off git or npm: resources that are not saved to config
  • Keeps project config in btca.config.jsonc, which overrides the global file at ~/.config/btca/btca.config.jsonc
  • Designed for setting up btca in a project, connecting a provider, or researching a specific library in depth

Install

$ npx -y skills add davis7dotsh/better-context --skill btca-cli -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/davis7dotsh/better-context
Categories
Research & Academic, Skill & Plugin Building, CLI & Terminal
First seen
Apr 16, 2026

More from davis7dotsh/better-context

All 2

Similar to Btca Cli

More Research & Academic