Skip to content

feat: port enrich skill, changes log, and brain-first lookup from gbrain#3

Merged
federicodeponte merged 3 commits into
mainfrom
feat/gbrain-ports
May 5, 2026
Merged

feat: port enrich skill, changes log, and brain-first lookup from gbrain#3
federicodeponte merged 3 commits into
mainfrom
feat/gbrain-ports

Conversation

@federicodeponte
Copy link
Copy Markdown
Member

Summary

Three lightweight features ported from Garry Tan's gbrain, kept brutally simple (markdown only, no new infrastructure):

  • fbrain-enrich skill (skills/fbrain-enrich/SKILL.md): update a single person or project entry from conversation context, without rerunning populate/refresh. Appends to changes.md.
  • Changelog appends: populate and refresh skills now append a one-liner to ~/context/internal/changes.md after every write — gives an audit trail of when the vault last changed.
  • Brain-first lookup snippet: populate skill now includes an ## Injecting into CLAUDE.md section with a ready-to-paste block that tells Claude to check fbrain before hitting external APIs.

Test plan

  • Invoke /fbrain-enrich mentioning a person name, verify relationships.md entry updates and changes.md gets a new line
  • Run /icontext-populate-profile, verify changes.md is created/appended
  • Run /icontext-refresh-profile with a stale profile, verify changes.md append on write, no append on no-change
  • Copy brain-first lookup snippet into a test CLAUDE.md, verify Claude uses fbrain before external search

Federico De Ponte and others added 3 commits May 5, 2026 07:45
Replace all icontext.dev references with icontext.floom.dev across
get.sh, cli.py, launch copy, and video script.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Prevents agents from dumping legal/entity facts into log files by
providing an explicit content-type → vault-path decision tree. Covers
six categories (legal, projects, team, strategy, secretary logs,
credentials) with a full top-level vault directory reference built from
the real vault structure.

- New skill: skills/icontext-write-fact/SKILL.md
- icontext-populate-profile references icontext-write-fact for durable
  facts surfaced during synthesis
- cli.py: skill_names updated to include icontext-write-fact in both
  _install_skills() and cmd_skills(); CLAUDE.md snippet lists all four
- 16 new tests in tests/test_skill_routing.py (frontmatter, 6 routing
  categories, anti-pattern mention, init install, cursor rule, skills
  list count, CLAUDE.md reference)
- Bumped to v0.4.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@federicodeponte federicodeponte merged commit 7aaea95 into main May 5, 2026
0 of 2 checks passed
@federicodeponte federicodeponte deleted the feat/gbrain-ports branch May 5, 2026 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant