Skip to main content

Lliki

lliki is a local CLI that creates and maintains a low-token, model-neutral project wiki for humans and coding tools. The normal user workflow remains simple: initialize the repository once, print the recommended LLM onboarding prompt, and then work with Claude, Hermes, or another coding agent normally.

The application performs deterministic file mechanics. The LLM remains responsible for semantic engineering decisions and project documentation.

Lliki does not call an LLM, require API credentials, or transmit repository content by default. Optional repository-local integrations let coding agents use its deterministic wiki-management commands.

Lliki ASCII logo

Author: brunofbloq

Interactive welcome

Running lliki or lliki init in an interactive terminal displays the Lliki ASCII welcome, a concise project-purpose statement, and the author. The banner is intentionally omitted from non-interactive runs, JSON output, hooks, and CI. Set LLIKI_NO_BANNER=1 to suppress it locally.

Key design decisions

  • wiki/index.md is the only mandatory dynamic project entry point.
  • The default setup creates only the wiki and safely creates or patches CLAUDE.md.
  • Runtime state, scratchpad, hooks, and agent integrations are opt-in.
  • All Markdown templates and suggested prompts are editable files, not Python string literals.
  • The specialist skill embedded-systems-architect is recommended only in the printed onboarding prompt. It is not hard-coded into CLAUDE.md or the wiki.
  • Every suggested LLM prompt includes a prompt-token estimate and expected total call range.
  • Permanent wiki updates are event-driven: after meaningful task events and at the end of completed user requests, only when project truth changed.

Installation

pipx

pipx install lliki

pip

python -m pip install lliki

Homebrew

brew install brunofbloq/tap/lliki

GitHub development version

pipx install "git+https://github.com/brunofbloq/lliki.git"

Local development

python -m pip install -e .
lliki --version

Local pipx install

pipx install .

The same installed lliki command works in Bash, PowerShell, CMD, macOS, Linux, and Windows.

Windows PowerShell helper

.\scripts\install.ps1 -Source .

Bash helper

./scripts/install.sh .

Homebrew and Debian packaging templates are under packaging/.

Default setup

Run:

lliki init

The TUI offers:

[1] Default — create/repair wiki and update CLAUDE.md
[2] Custom  — optional runtime state and repository-local integrations

Default setup creates:

CLAUDE.md
wiki/
├── index.md
├── wiki-rules.md
├── tasks/
│   └── dashboard.md
├── decisions.md
├── lessons_learned.md
├── exploratory/
│   └── index.md
└── docs/
    ├── README.md
    ├── project-overview.md
    ├── development-workflow.md
    └── repository-rules.md

It then prints the LLM initialization prompt and its estimated token usage in the terminal. It does not create .lliki/, install hooks, create a scratchpad, or install skills.

Non-interactive equivalent:

lliki init --default --yes

Custom setup

Custom setup can opt into:

  • lightweight local resume state;
  • optional debug scratchpad and log directory;
  • generic AGENTS.md integration;
  • repository-local Claude skill and optional hooks;
  • repository-local Hermes context through .hermes.md.

Example:

lliki init --custom --runtime assisted \
  --integrate generic,claude,hermes --yes

Debug scratchpad remains optional:

lliki init --custom --runtime debug --scratchpad --yes

When runtime assistance is enabled, local non-authoritative state lives under .lliki/, which is added to .gitignore.

Normal agent workflow

The user does not need to run maintenance commands during normal development. Generated instructions teach the coding agent to:

  1. begin from wiki/index.md;
  2. load only relevant context;
  3. update project knowledge after meaningful events and completed requests;
  4. use lliki internally for mechanical checks when efficient;
  5. avoid whole-wiki reads and whole-file rewrites.

Manual commands remain available when a token-free structural check is useful.

Token-free commands

lliki inspect --json
lliki doctor --json
lliki context --json
lliki tasks refresh --update-index
lliki templates diff

Suggested LLM prompts

lliki prompt list
lliki prompt show initialize-project
lliki prompt show migrate-legacy
lliki prompt show complete-task
lliki prompt show explore-impact
lliki prompt show review-wiki

Every prompt prints:

  • approximate prompt-only tokens;
  • expected total call range;
  • a reminder that actual use depends on model and loaded repository context.

Editing templates like documents

Export the built-in template pack:

lliki templates export ./my-lliki-templates

Edit the Markdown files directly, including CLAUDE.md, wiki pages, integration instructions, and prompts. Validate them:

lliki templates validate --template-dir ./my-lliki-templates

Preview repository changes:

lliki templates diff \
  --template-dir ./my-lliki-templates \
  --root .

Apply only missing files and managed-section changes:

lliki templates sync \
  --template-dir ./my-lliki-templates \
  --root .

The environment variable form is also supported:

export LLIKI_TEMPLATE_DIR="$PWD/my-lliki-templates"
lliki init

PowerShell:

$env:LLIKI_TEMPLATE_DIR = "$PWD\my-lliki-templates"
lliki init

Task metadata and dashboard generation

Task files can use YAML front matter:

---
id: HWRD-115
title: Sensor bring-up
status: active
priority: high
updated: 2026-07-31
---

lliki tasks refresh generates wiki/tasks/dashboard.md without an LLM. With --update-index, exactly one active task is linked from wiki/index.md.

Safe update behavior

  • Existing content is never blindly replaced.
  • Managed sections are identified by HTML comment markers.
  • Existing CLAUDE.md content is preserved; the stable managed contract is appended when no marker exists.
  • Backups are created before managed updates.
  • Decisions and lessons use append-only files.
  • Context-sensitive wiki files are created with explicit Needs validation markers for LLM or human initialization.

Repository-local agent integrations

Claude Code

Custom setup can create:

.claude/skills/lliki/SKILL.md
.claude/settings.json

Hooks are optional. When enabled, they perform only mechanical dashboard and structural maintenance and do not invent semantic documentation.

Hermes

Custom setup can create .hermes.md, which instructs Hermes to begin from the same wiki entry point and use the CLI internally when efficient.

Generic agents

Custom setup can create AGENTS.md for compatible coding agents.

Development and tests

PYTHONPATH=src python -m unittest discover -s tests -v
python -m compileall -q src
python -m pip wheel . --no-deps --wheel-dir dist

See docs/DESIGN.md for architecture and update ownership.

Download files

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

Source Distribution

lliki-0.2.1.tar.gz (53.5 kB view details)

Uploaded Source

Built Distribution

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

lliki-0.2.1-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file lliki-0.2.1.tar.gz.

File metadata

  • Download URL: lliki-0.2.1.tar.gz
  • Upload date:
  • Size: 53.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for lliki-0.2.1.tar.gz
Algorithm Hash digest
SHA256 2b0860be49f173c2ad227c3f6b0e49f3e4371b5cc7fc3f5eab9bdeccd6d6fa50
MD5 50a400fcd424255586117e13f6908f1a
BLAKE2b-256 37c76f42ed7a1b2a6878bd4e0625a6d650ddbed4680651220dfbb210232624ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for lliki-0.2.1.tar.gz:

Publisher: release.yml on brunofbloq/lliki

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

File details

Details for the file lliki-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: lliki-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for lliki-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67e87f0a8f7fa9cfae9f98287d68ef8d14b8e97b21c7e76959dc3ba743ea1016
MD5 4cf2be0763eb0a4bb1b178fc8d31830d
BLAKE2b-256 97953e6554c106718c3e3ea29e26e081b69caa18d86d7f696f6b8816b87c715f

See more details on using hashes here.

Provenance

The following attestation bundles were made for lliki-0.2.1-py3-none-any.whl:

Publisher: release.yml on brunofbloq/lliki

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

Supported by

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