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-code

Installs 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

More from davis7dotsh/better-context

All 2
1alirezarezvani avatarx-twitter-growthalirezarezvani/claude-skillsX/Twitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X/Twitter, write tweets or t724skills.sh installs
2ferdinandobons avatarstartup-competitorsferdinandobons/startup-skillDeep competitive intelligence for any market. Analyzes competitors' products, pricing, customer sentiment, GTM strategy, and growth signals using real web data.724skills.sh installs
3hamelsmu avatargenerate-synthetic-datahamelsmu/evals-skillsCreate diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. Use when bootstrapping an eval dataset, when real user 723skills.sh installs
4product-on-purpose avatarmeasure-okr-graderproduct-on-purpose/pm-skillsScores completed OKR sets at cycle close with KR-level scoring per the canonical OKR type enum (committed | aspirational | learning | operational_health | compl723skills.sh installs
5alirezarezvani avatarai-securityalirezarezvani/claude-skillsUse when assessing AI/ML systems for prompt injection, jailbreak vulnerabilities, model inversion risk, data poisoning exposure, or agent tool abuse. Covers MIT720skills.sh installs
6machina-sports avatarsports-reportermachina-sports/sports-skillsGenerates original sports journalism articles by consuming real-time data from the sports-skills skills. Covers game previews, live reports, post-game, team ana720skills.sh installs