Developer Knowledge Base - Fetch and organize documentation locally for vibe coding with Claude Code
Project description
dkb - Developer Knowledge Base
Local documentation manager for vibe coding with Claude Code.
[!NOTE] โจ Perfect for Claude Code
dkbmaintains a skill at~/.claude/skills/dkb/SKILL.md. The skill description (always visible to the agent) carries the catalogue of cached repos, so Claude always knows what docs are available locally without running a command; the skill body loads on demand with versions, locations, and usage.
Local .md files > MCP
Install
# Install with uv
uv tool install dkb
# Or with pipx
pipx install dkb
Usage
$ dkb -h
usage: dkb [-h] {add,remove,update,status,skill} ...
dkb v2.0.0
Developer Knowledge Base - Fetch and organize documentation locally for vibe coding with Claude Code
positional arguments:
{add,remove,update,status,skill}
Available commands
add Add a new repository
remove Remove a repository
update Update repositories
status Show status of all repositories
skill Regenerate the Claude Code skill
options:
-h, --help show this help message and exit
Examples:
dkb add https://github.com/denoland/docs.git
dkb add tailwindlabs/tailwindcss.com/src/docs
dkb add gramiojs/documentation/docs --version-url gramiojs/gramio
dkb add https://github.com/astral-sh/uv/tree/main/docs
dkb add https://codeberg.org/owner/repo/src/branch/main/docs
dkb remove tailwind
dkb update
dkb status
# Add a repository (entire repo)
$ dkb add https://github.com/denoland/docs.git
๐ฆ Adding docs...
โ 2.4.2
โ Updated /Users/you/.claude/skills/dkb/SKILL.md
# Show status with rich formatting
$ dkb status
Knowledge Base Status
โโโโโโโโโโโโโโโโณโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโ
โ Repository โ Version โ Docs โ Source โ Last Updated โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ better-auth โ 1.2.12 โ better-auth/better-auth โ - โ 25m ago โ
โ deno โ 2.4.2 โ denoland/docs โ denoland/deno โ 25m ago โ
โ nextjs โ 15.4.2 โ vercel/next.js โ - โ 24m ago โ
โ tailwind โ 4.1.11 โ tailwindlabs/tailwindcss.com โ tailwindlabs/tailwindcss โ 12m ago โ
โ uv โ 0.8.0 โ astral-sh/uv โ - โ 33m ago โ
โโโโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโ
# Update all repositories (parallel with live progress)
$ dkb update
โ deno updated
- nextjs unchanged
- tailwind unchanged
- uv unchanged
Updated: deno
โ Updated /Users/you/.claude/skills/dkb/SKILL.md
Configuration
Docs stored in $XDG_DATA_HOME/dkb/ (defaults to ~/.local/share/dkb/)
Configuration file: $XDG_DATA_HOME/dkb/config.json
Features
- โจ Auto-naming - No need to specify names, automatically derived from repositories
- ๐ฏ Path-specific URLs - Add only the docs you need:
dkb add owner/repo/path - ๐ Multiple URL formats:
- Full URLs:
https://github.com/astral-sh/uv/tree/main/docs - Shorthand:
tailwindlabs/tailwindcss.com/src/docs - Classic:
https://github.com/denoland/docs.git
- Full URLs:
- ๐ Gitea/Forgejo support - Works with codeberg.org and self-hosted forges:
dkb add https://code.haverbeke.berlin/wordgard/website/src/branch/main/site/docs - ๐ฆ Version tracking - Track versions from a different repository with
--version-url - ๐ Parallel updates - All repos update concurrently with live progress spinners
- โก Smart skip - Unchanged repos detected via
git ls-remotewithout cloning - ๐ Sparse checkout - Repos with paths only fetch the files they need
- ๐ค Claude Code skill - Maintains
~/.claude/skills/dkb/SKILL.md; the always-visible description indexes the catalogue so the agent knows what's cached without running anything
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dkb-2.0.0.tar.gz.
File metadata
- Download URL: dkb-2.0.0.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25849bb3a315352a9c1b3c0560fa1a4eb1467de234793d3adaf4cc3c33a8caad
|
|
| MD5 |
1851e7d8973a4c88f085b64c20077877
|
|
| BLAKE2b-256 |
319ac9fb4d923003fe91c48fad511a74964843f6448fe622af3d90b468ba03bc
|
Provenance
The following attestation bundles were made for dkb-2.0.0.tar.gz:
Publisher:
release.yml on adriangalilea/dkb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkb-2.0.0.tar.gz -
Subject digest:
25849bb3a315352a9c1b3c0560fa1a4eb1467de234793d3adaf4cc3c33a8caad - Sigstore transparency entry: 2060062023
- Sigstore integration time:
-
Permalink:
adriangalilea/dkb@e3145a0e72ae9932a1795e4fd66b9fd6f290f553 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/adriangalilea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e3145a0e72ae9932a1795e4fd66b9fd6f290f553 -
Trigger Event:
push
-
Statement type:
File details
Details for the file dkb-2.0.0-py3-none-any.whl.
File metadata
- Download URL: dkb-2.0.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b9aa326cd32a51e2138d90ffa6ac9d654fe8cec6fc83b71180bf72aea73d79a
|
|
| MD5 |
55358571c430d56fb2d2c060f67b40a9
|
|
| BLAKE2b-256 |
080f26b998d7c0ab44a34a18374105b889d2831ec2c2d46c67ef6ade0d8bafdd
|
Provenance
The following attestation bundles were made for dkb-2.0.0-py3-none-any.whl:
Publisher:
release.yml on adriangalilea/dkb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dkb-2.0.0-py3-none-any.whl -
Subject digest:
7b9aa326cd32a51e2138d90ffa6ac9d654fe8cec6fc83b71180bf72aea73d79a - Sigstore transparency entry: 2060062337
- Sigstore integration time:
-
Permalink:
adriangalilea/dkb@e3145a0e72ae9932a1795e4fd66b9fd6f290f553 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/adriangalilea
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e3145a0e72ae9932a1795e4fd66b9fd6f290f553 -
Trigger Event:
push
-
Statement type: