zedarvates/botte-secrete/prefix-tree
Claude Code and agent skill by zedarvates/botte-secrete
- community
Checking that the SKILL.md file is still in the repository.
Store named prompt prefixes and compare later text with their baseline. Use for inspecting common prefixes or evaluating a baseline-aware prompt transport; this module does not send or reconstruct messages.
Install
npx vskill@latest install zedarvates/botte-secrete/prefix-treeSKILL.md
The same SKILL.md was published earlier as zedarvates/botte-secrete/prefix-tree.
prefix tree
Stores complete prefix strings in a mapping keyed by agent name. Despite its name, this implementation is not a compressed trie or a transport protocol.
Usage
Consequences and verification
Read effects.json. register replaces an entry and rewrites ~/.botte/prefix-tree-store.json. This user-wide JSON stores complete prompt text without encryption. CLI arguments can also remain in shell history or process inspection. Use task-appropriate data and output recipients.
diff, common and stats read state; diff does not update the stored baseline. An unknown or empty baseline returns the full input. For a non-empty baseline, exact equality returns [no change]. An append returns [diff:+Nc] followed by the exact suffix, including whitespace. Shortened or otherwise changed text returns the full replacement, including an empty string for deletion. CLI printing adds its usual terminal newline.
These strings have no unambiguous message type, baseline digest or receiver acknowledgment. Do not use them as a lossless wire protocol without adapting the transport. A downstream model cannot reconstruct omitted text unless the receiver actually has the same baseline. Re-register only after deciding which baseline the target workflow should use.
Writes have no lock or automatic rollback; a concurrent writer can overwrite another update. Preserve prior state before replacing useful prefixes, and inspect actual state after failure before retrying. A read retry can disclose the same output again. The stats savings field is a heuristic, not measured token usage or evidence of transport savings.
For plausible reuse, define typed full/append/unchanged messages with a baseline identity and test exact reconstruction, deletion, whitespace, stale receivers and marker-like input in the target harness. Keep this an adaptation to test; record evidence and context before promoting it. See the common contract.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/prefix_tree/SKILL.md
Popularity
- Repository stars
- 2
- 7-day trend score
- 5
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/zedarvates/botte-secrete/prefix-tree)