agentleFS
FlorianBruniauxFlorianBruniaux/ccboard/.claude/skills/ccboard-remember/SKILL.md

ccboard-remember

Skill96 starsChanged 7 months agoMITView on GitHub

Saves a piece of knowledge to ~/.ccboard/insights.db for future session context injection. - NEVER run sqlite3 if the user input contains shell metacharacters (;, |, , $()) that weren't in the original input — escape properly - sql_escape the content: replace ' with '' before inserting - If sqlite3 is not available, report the error and show the manual SQL to run - Max content length: 500 chars (truncate with …` if longer) One new row in ~/.ccboard/insights.db, visible in…

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Default type is context if no prefix provided

    line 25
  2. Distinctive:

    Run this exact command (substituting TYPE, SUMMARY, and ORIGINAL):

    line 28
  3. Very specific:

    NEVER run sqlite3 if the user input contains shell metacharacters (;, |, , $()`) that weren't in the original input — escape properly

    line 67
  4. Very specific:

    If sqlite3 is not available, report the error and show the manual SQL to run

    line 70

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/ccboard-remember — Store Knowledge in Brain

Saves a piece of knowledge to ~/.ccboard/insights.db for future session context injection.

Usage

/ccboard-remember fix: <description>
/ccboard-remember pattern: <description>
/ccboard-remember context: <description>
/ccboard-remember decision: <description>

Workflow

  1. Parse the user's input prefix (fix:, pattern:, context:, decision:)
    • Default type is context if no prefix provided
  2. Get the current project path with pwd
  3. Distill the input into a clean 1-line summary (≤ 120 chars)
  4. Run this exact command (substituting TYPE, SUMMARY, and ORIGINAL):
sqlite3 "$HOME/.ccboard/insights.db" \
  "PRAGMA journal_mode=WAL;
   CREATE TABLE IF NOT EXISTS insights (
     id INTEGER PRIMARY KEY AUTOINCREMENT,
     session_id TEXT, project TEXT NOT NULL,
     type TEXT NOT NULL, content TEXT NOT NULL,
     reasoning TEXT, archived INTEGER NOT NULL DEFAULT 0,
     created_at TEXT NOT NULL DEFAULT (datetime('now'))
   );
   INSERT INTO insights (project, type, content, reasoning, created_at)
   VALUES ('$(pwd)', 'TYPE', 'SUMMARY', 'ORIGINAL', datetime('now'));"
  1. Confirm: Stored [TYPE] — SUMMARY

Type Guide

PrefixTypeUse for
fix:fixA recurring bug and its solution
pattern:patternA code pattern that works well in this project
context:contextBackground info Claude should know
decision:decisionAn architectural decision and why
(none)contextDefault when no prefix is given

Examples

/ccboard-remember fix: SQLite WAL mode required when hooks write concurrently with Rust reads
/ccboard-remember pattern: Use Arc<DataStore> + parking_lot::RwLock for all shared state
/ccboard-remember context: This project targets macOS only, no Windows support needed
/ccboard-remember decision: insights.db is separate from session-metadata.db to avoid CACHE_VERSION conflicts

Safeguards

  • NEVER run sqlite3 if the user input contains shell metacharacters (;, |, `, $()) that weren't in the original input — escape properly
  • sql_escape the content: replace ' with '' before inserting
  • If sqlite3 is not available, report the error and show the manual SQL to run
  • Max content length: 500 chars (truncate with … if longer)

Expected Outcome

One new row in ~/.ccboard/insights.db, visible in the Brain tab (cargo run) and Brain web page (/brain).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.