smithery.ai

bonfire

Session context persistence for AI coding via a `.bonfire/index.md` file convention. This skill is the cross-agent fallback for hosts without a native bonfire adapter (Pi and Claude Code have first-party adapters that auto-update the file; install those when available).

First seen Apr 26, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version7.3.0
LicenseMIT
Allowed toolsBash(git:*), Bash(mkdir:*), Bash(ls:*), Bash(printf:*), Bash(tr:*), Bash(cut:*), Bash(jq:*), Bash(head:*), Read, Write, Edit, Glob, Grep
Declared agents claude-code codex opencode
More metadata
author
vieko
version
7.3.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,163 B
  • docs SUMMARY.md 310 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Bonfire (fallback skill)

Session context persistence for AI coding.

Bonfire ships in three layers:

  1. File convention<git-root>/.bonfire/index.md with two managed fence blocks.
  2. Native host adapters (preferred) — drop-in plugins that auto-update the file as you work. Available for Pi and Claude Code.
  3. This skill (fallback) — manual /skill:bonfire end for agents without a native adapter (Codex, OpenCode, etc.).

If you're on Pi or Claude Code, install the adapter from ~/dev/bonfire/{pi,claude}/ instead. The adapters are zero-ritual and richer than what this skill can do.

Git root: !git rev-parse --show-toplevel 2>/dev/null || echo ""

Opt-in

The skill (and the adapters) honor an opt-in gate per repo:

mkdir <repo>/.bonfire

Without .bonfire/ present, this skill exits silently. That keeps it from polluting random repos.

Routing

Input Action
end Read [commands/end.md](commands/end.md) and execute
migrate Read [commands/migrate.md](commands/migrate.md) and execute. One-off migration for a pre-v7 index.md that lacks the v1 fence markers — wraps the file in fences without destroying hand-curated content.

Earlier versions of bonfire had start and handoff commands. Both are removed in 7.0:

  • start: redundant. Modern agents auto-read files from cwd, so .bonfire/index.md is already in context. No ritual needed.
  • handoff: Pi has a richer first-party handoff extension. For non-Pi agents, use Linear, a notes file consumed via @file injection, or a draft PR description.