kit

(★ 122)

KIT (Knowledge Inference Tool) — A lightweight AI agent for coding

File Explorer

  • .dockerignore
  • .gitignore
  • .golangci.yml
  • .goreleaser.yaml
  • action.yml
  • AGENTS.md
  • btca.config.jsonc
  • go.mod
  • go.sum
  • LICENSE
  • logo.jpg
  • README.md
  • Taskfile.yml

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

bun install

View Details ▼

Install JavaScript dependencies for a project from `package.json`.

bun {{[i|install]}}

Install all dependencies listed in `package.json`:

bun {{[i|install]}} {{package_name}}@{{version}}

Install a single package (this is an alias for `bun add`):

bun {{[i|install]}} {{[-g|--global]}} {{package_name}}

Install a package globally:

🔍

copilot

View Details ▼

Interact with GitHub Copilot.

copilot

Start interactive mode:

copilot --allow-tool write

Allow all file editing:

copilot --continue

Resume the most recent session:

🔍

git clone

View Details ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

go build

View Details ▼

Compile Go sources.

go build {{path/to/main.go}}

Compile a 'package main' file (output will be the filename without extension):

go build -o {{path/to/binary}} {{path/to/source.go}}

Compile, specifying the output filename:

go build -o {{path/to/binary}} {{path/to/package}}

Compile a package:

🔍

go fmt

View Details ▼

Format Go source files, printing the changed filenames.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go fmt

Format Go source files in the current directory:

go fmt {{path/to/package}}

Format a specific Go package in your import path (`$GOPATH/src`):

go fmt {{./...}}

Format the package in the current directory and all subdirectories (note the `...`):

🔍

go install

View Details ▼

Compile and install packages named by the import paths.

go install

Compile and install the current package:

go install {{path/to/package}}

Compile and install a specific local package:

go install {{golang.org/x/tools/gopls}}@{{latest}}

Install the latest version of a program, ignoring `go.mod` in the current directory:

🔍

go test

View Details ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

🔍

go vet

View Details ▼

Check Go source code and report suspicious constructs (e.g. lint your Go source files).
Go vet returns a non-zero exit code if problems are found; returns a zero exit code if no problems are found.

go vet

Check the Go package in the current directory:

go vet {{path/to/file_or_directory}}

Check the Go package in the specified path:

go tool vet help

List available checks that can be run with go vet:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm

View Details ▼

JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.

npm init {{[-y|--yes]}}

Create a `package.json` file with default values (omit `--yes` to do it interactively):

npm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

🔍

openai

View Details ▼

CLI tool providing access to the OpenAI API.

openai api models.list

List models:

openai api completions.create --model {{ada}} --prompt "{{Hello world}}"

Create a completion:

openai api chat_completions.create --model {{gpt-3.5-turbo}} --message {{user "Hello world"}}

Create a chat completion:

🔍

pnpm

View Details ▼

Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.

pnpm init

Create a `package.json` file:

pnpm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

pnpm add {{module_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

🔍

tmux

View Details ▼

Terminal multiplexer.
It allows multiple sessions with windows, panes, and more.
See also: `zellij`, `screen`, `herdr`.

tmux

Start a new session:

tmux {{[new|new-session]}} -s {{name}}

Start a new named [s]ession:

tmux {{[ls|list-sessions]}}

List existing sessions:

🔍

tree

View Details ▼

Show the contents of the current directory as a tree.

tree -L {{num}}

Print files and directories up to `num` levels of depth (where 1 means the current directory):

tree

Display the tree for the current directory:

tree -d

Print directories only:

🔍

vercel

View Details ▼

Deploy and manage your Vercel deployments.

vercel

Deploy the current directory:

vercel --prod

Deploy the current directory to production:

vercel {{path/to/project}}

Deploy a directory:

🔍

share

View Details ▼

Make local resource/filesystem available for mounting by remote systems.

share

List all currently shared filesystems:

share -F nfs -o rw /{{path/to/directory}}

Share a directory with read/write access:

share -F nfs -o ro /{{path/to/directory}}

Share a directory with read-only access:

// repository documentation