Documentation

Install once. Edit Markdown safely.

Use Incise from the command line, install the native Pi package, or connect the version-matched Hermes plugin. Pi and Hermes provide measured automatic profiles for MiniCPM, Ornith, and Gemma; unknown models keep the stable standard interface.

Command-line installation

cargo install incise-cli --locked
incise --version

Linux and macOS archives are also available from GitHub Releases.

Pi installation

pi install npm:pi-incise

The npm package includes native binaries for macOS arm64/x64 and glibc Linux arm64/x64.

Ornith 1.5 9B

INCISE_PROFILE=auto pi --thinking off

Recommended with maxTokens: 2048 and samplingParams.parallel_tool_calls: false. Run /incise-doctor after startup.

Gemma

INCISE_PROFILE=auto pi

Recommended. Auto-detection enables the measured guarded routing profile. Run /incise-doctor after startup.

MiniCPM5 2B

INCISE_PROFILE=auto pi --thinking off

Recommended. The measured Q8_0 profile completed 480/480 trials with zero harmful outcomes. Run /incise-doctor after startup.

Other models

INCISE_PROFILE=standard pi

The model-agnostic eight-tool interface remains the compatibility default.

Hermes Agent installation

Install the CLI first, then download the plugin bundle from the same release:

release="v$(incise --version | awk '{print $2}')"
mkdir -p "$HOME/.hermes/plugins"
curl --fail --location --silent --show-error \
  "https://github.com/pdalinis/incise/releases/download/$release/incise-hermes-$release.tar.gz" \
  | tar -xz -C "$HOME/.hermes/plugins"

hermes plugins enable --no-allow-tool-override incise
hermes tools enable --platform cli incise
hermes plugins doctor --ci incise

Keep the CLI and plugin on the same release. Doctor prints the exact Incise binary it validated and reports eight handlers for standard or twenty-eight for auto; request middleware narrows the latter to exactly one routed Incise tool or the standard eight before inference.

Gemma

INCISE_PROFILE=auto hermes chat

Recommended. If the provider uses a generic model alias, add INCISE_MODEL_FAMILY=gemma.

Ornith 1.5 9B

INCISE_PROFILE=auto hermes chat --reasoning none

Also configure a 2,048-token output cap and disable parallel tool calls. For a generic alias, add INCISE_MODEL_FAMILY=ornith.

MiniCPM5 2B

INCISE_PROFILE=auto hermes chat --reasoning none

Recommended with an 8,192-token output cap and disabled parallel tool calls. Set INCISE_MODEL_FAMILY=minicpm for generic aliases.

The preregistered Hermes profiles completed 480/480 trials on MiniCPM, Ornith, and Gemma with zero harmful outcomes.

The editing loop

  1. Inspect the relevant document structure.
  2. Address the target by its content.
  3. Preview or perform one semantic operation.
  4. Verify the concise result or follow the remedy in a refusal.
incise tables vault/Projects.md
incise rows vault/Projects.md --table Projects
incise table-update-cell vault/Projects.md \
  --table Projects --where Note=Launch \
  --column Status --value done

# Whole-table deletion previews first and requires explicit confirmation.
incise table-delete vault/Projects.md --table Projects
incise table-delete vault/Projects.md --table Projects --confirm

Add --ordinal N when several tables share a heading. Whole-table deletion is CLI-only in this release; Pi and Hermes retain the measured four-action table_edit schema.

Structural checks

incise check detects structural conditions that can make Incise addressing ambiguous or prevent a byte-preserving operation. It is not a Markdown style linter, and checking never changes the file.

incise check vault/Projects.md --json

# Reserved for findings classified as automatic; HASH comes from the report.
incise check vault/Projects.md --fix-safe --if-match HASH --json

Each finding has a stable code, severity, semantic address, byte span, and repair class. automatic findings may use the hash-guarded safe-fix path; explicit findings name an existing Incise operation that still requires matching user intent; manual findings should be reported instead of patched around. Version 0.5.0 starts with an empty automatic allowlist.

Pi

Run /skill:incise-check when explicitly asked to validate Markdown or verify an edit. The package activates the read-only md_check tool for that skill run only.

Hermes Agent

Explicitly load the packaged incise:incise-check skill. The plugin exposes md_check, then only the semantic repair tool named by its report.

Recommended agent rule

Check after an Incise mutation, recheck after any authorized repair, and stop if the report makes no progress. Never turn a manual finding into a broad rewrite.

Supported structures

StructureOperations
TablesAdd and delete rows, delete whole tables with confirmation, update cells, query rows, realign columns
ListsAdd and remove items, toggle task checkboxes
SectionsAppend, replace, insert, delete, rename, change heading level
FrontmatterRead, set, and delete nested YAML keys
Structural checksReport addressability hazards and classify repairs without writing

Agent integrations

Print the standard function schemas with incise schema or inspect the experimental narrow surface with incise schema --profile safe-small. The confirmed whole-table deletion command is intentionally absent from those model schemas after its publication gate failed. See the complete guides for Hermes Agent and Pi.

Need every command and option? Run incise --help or incise <command> --help. The project README covers safety, compatibility, and development.