Skip to main content

dkb - Developer Knowledge Base

Local documentation manager for vibe coding with Claude Code.

[!NOTE] โœจ Perfect for Claude Code

dkb maintains 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
  • ๐Ÿ  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-remote without 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

Roadmap

  • Local repos - dkb add ~/Developer/my-lib symlinking the live checkout into the cache, so first-party libraries in the catalogue point at the working copy instead of a lagging remote clone

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dkb-2.2.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dkb-2.2.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file dkb-2.2.0.tar.gz.

File metadata

  • Download URL: dkb-2.2.0.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dkb-2.2.0.tar.gz
Algorithm Hash digest
SHA256 18f8c15c1a13edb7f6d17079834d29abaca42ba109105b5b4878a563ad5882de
MD5 597ef49ce15ab71f23eaa23048cfa8bb
BLAKE2b-256 c3eb3155b883a237744820ba2f8d140149b1055bd93898be02ef71cfa23daeb5

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-2.2.0.tar.gz:

Publisher: release.yml on adriangalilea/dkb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dkb-2.2.0-py3-none-any.whl.

File metadata

  • Download URL: dkb-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dkb-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ad3415ce03d94bfa50202cb51268496d8475fbd2a208324b637e77043320381
MD5 9acb1cda087e7d3fe446a1c63b6854ea
BLAKE2b-256 72e5630107d030813e0e91879e805c78c91d00b1a726516c05ded973f25e1a9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for dkb-2.2.0-py3-none-any.whl:

Publisher: release.yml on adriangalilea/dkb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.2.0 This release

2 files

2.1.0

2 files

2.0.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.3.0

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.2

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page