Brain
jeremylongshore/tons-of-skills-marketplace
Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.
Comprehensive testing playbook for Local Brain Search memory improvements (Phases 1, 3, 4)
$ npx skills add Abilityai/cornelius --skill test-memory-system -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Abilityai/cornelius test-memory-system --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/test-memory-system .claude/skills/test-memory-system && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .claude/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-systemType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Abilityai/cornelius --skill test-memory-system -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Abilityai/cornelius test-memory-system --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/test-memory-system .agents/skills/test-memory-system && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .agents/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill test-memory-system -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Abilityai/cornelius test-memory-system --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/test-memory-system .cursor/skills/test-memory-system && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .cursor/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Abilityai/cornelius.git --path .claude/skills/test-memory-system--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Abilityai/cornelius --skill test-memory-system -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Abilityai/cornelius test-memory-system --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/test-memory-system .gemini/skills/test-memory-system && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .gemini/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Abilityai/cornelius test-memory-systemInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Abilityai/cornelius --skill test-memory-system -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/test-memory-system .github/skills/test-memory-system && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .github/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Abilityai/cornelius --skill test-memory-system -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Abilityai/cornelius test-memory-system --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Abilityai/cornelius.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/test-memory-system .opencode/skills/test-memory-system && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "test-memory-system" agent skill from https://github.com/Abilityai/cornelius/tree/main/.claude/skills/test-memory-system into .opencode/skills/test-memory-system/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-memory-system", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
test-memory-systemComprehensive testing playbook for Local Brain Search memory improvements (Phases 1, 3, 4)
Test Memory System is an agent skill from Abilityai/cornelius. Comprehensive testing playbook for Local Brain Search memory improvements (Phases 1, 3, 4)
Its SKILL.md is about 3.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: AI-powered second brain template for Claude Code + Obsidian. The licence is MIT.
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit fd5e9a4. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadWriteGlobGrepFrom allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
pythonpipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Test Memory System loads about 3.4k tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 781 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, Read, Write, Glob, GrepAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Abilityai/cornelius at commit fd5e9a4, republished under its MIT licence (© Abilityai). 781 words, ~3,388 tokens.
.claude/skills/test-memory-system/SKILL.md (or your agent's skills folder).Comprehensively test the new memory improvements implemented in Local Brain Search:
| Source | Location | Read | Write | Description |
|---|---|---|---|---|
| Memory Config | resources/local-brain-search/memory_config.py | ✓ | Central configuration | |
| Q-Values | resources/local-brain-search/data/q_values.json | ✓ | Learned preferences | |
| Usage History | resources/local-brain-search/data/usage_history.jsonl | ✓ | Event tracking | |
| FAISS Index | resources/local-brain-search/data/brain.faiss | ✓ | Vector index | |
| Graph | resources/local-brain-search/data/brain_graph.pkl | ✓ | Note graph | |
| Test Report | resources/memory-test-reports/ | ✓ | Output location |
source resources/local-brain-search/venv/bin/activatedata/brain.faiss existsdata/brain_graph.pkl existspip install -r requirements.txtVerify all components are installed and accessible.
cd resources/local-brain-search
source venv/bin/activate
# Check files exist
ls -la data/brain.faiss data/brain_metadata.pkl data/brain_graph.pkl
# Check Python dependencies
python -c "import faiss; import networkx; import sentence_transformers; print('All dependencies OK')"
# Check new modules exist
python -c "from intent import classify_intent; from spreading import spreading_activation; from learning import get_learning_stats; print('All new modules OK')"Expected: All files exist, all imports succeed.
Test that queries are correctly classified into four intent types.
cd resources/local-brain-search
source venv/bin/activate
python intent.pyTest Cases:
| Query | Expected Intent | Confidence |
|---|---|---|
| "What is dopamine?" | factual | >70% |
| "How does motivation work?" | conceptual | >70% |
| "Connect dopamine and Buddhism" | synthesis | >70% |
| "Recent notes about AI agents" | temporal | >70% |
| "Dopamine" | factual | >50% |
| "relationship between identity and belief" | synthesis | >70% |
| "patterns across neuroscience and AI" | synthesis | >80% |
Record Results:
Compare results between static (traditional) and spreading activation modes.
cd resources/local-brain-search
# Test 1: Static search
./run_search.sh "dopamine and motivation" --mode static --limit 5 --json | python -m json.tool
# Test 2: Spreading search (same query)
./run_search.sh "dopamine and motivation" --mode spreading --limit 5 --json | python -m json.tool
# Test 3: Synthesis query (where spreading should excel)
./run_search.sh "connect Buddhism neuroscience consciousness" --mode static --limit 5 --json
./run_search.sh "connect Buddhism neuroscience consciousness" --mode spreading --limit 5 --jsonExpected Results:
Record:
Verify that different intents produce different spreading parameters.
cd resources/local-brain-search
# Factual query (should use minimal spreading)
./run_search.sh "What is dopamine?" --mode spreading --json 2>&1 | grep -E "(iterations|Intent)"
# Synthesis query (should use maximum spreading)
./run_search.sh "connect dopamine Buddhism identity" --mode spreading --json 2>&1 | grep -E "(iterations|Intent)"Expected:
Verify that hub notes don't dominate results.
Scope note:
Dopamine.mdwas the canonical hub example on the whole-graph fingerprint (DI-inflated). Scope enforcement is now ON (since 2026-06-25; see SCOPE-IMPLEMENTATION-PLAN.md), so the core-scoped hubs are MOC - Eight-Circuit / Decision Making / Gilbert / Tetlock - use one of those as the "known hub" probe. Dopamine remains a valid permanent note and search target either way - only its centrality ranking changed (it is no longer a top hub).
cd resources/local-brain-search
# Search for topic where Dopamine.md is a known hub
./run_search.sh "motivation reward behavior" --mode spreading --limit 10 --json
# Check if Dopamine.md dominates or if diverse results appearExpected:
Record:
Check current learning system state.
cd resources/local-brain-search
# Check learning status
./run_learning.sh status
# View top notes by Q-value
./run_learning.sh top --limit 10
# Export full learning data
./run_learning.sh export --output /tmp/learning_export.jsonExpected:
Record:
Verify that search operations are being tracked.
cd resources/local-brain-search
# Count events before
BEFORE=$(wc -l < data/usage_history.jsonl)
# Run a search
./run_search.sh "test query for tracking" --mode spreading --limit 5
# Count events after
AFTER=$(wc -l < data/usage_history.jsonl)
echo "Events before: $BEFORE, after: $AFTER, new: $((AFTER - BEFORE))"
# Verify event structure
tail -5 data/usage_history.jsonl | python -m json.toolExpected:
Verify that different event types produce appropriate Q-value changes.
cd resources/local-brain-search
# Get current Q-value for a test note
cat data/q_values.json | python -c "import json,sys; d=json.load(sys.stdin); print(d.get('02-Permanent/Dopamine.md', 'not found'))"
# Log a read event
./run_learning.sh log read "02-Permanent/Dopamine.md" --query "test"
# Check Q-value increased
cat data/q_values.json | python -c "import json,sys; d=json.load(sys.stdin); print(d.get('02-Permanent/Dopamine.md', 'not found'))"Expected Q-value changes:
Note: Actual changes are modulated by learning_rate (0.1) and position factor.
Verify that Q-values influence search result ranking.
cd resources/local-brain-search
# First, artificially boost a note's Q-value
python -c "
import json
with open('data/q_values.json', 'r') as f:
q = json.load(f)
q['02-Permanent/Identity.md'] = 1.5 # High Q-value
with open('data/q_values.json', 'w') as f:
json.dump(q, f, indent=2)
print('Q-value set for Identity.md')
"
# Search for something where Identity.md is somewhat relevant
./run_search.sh "belief systems self" --mode spreading --limit 10 --json
# Check if Identity.md ranks higher due to Q-value boostExpected:
Verify that --no-track flag prevents usage logging.
cd resources/local-brain-search
# Count events before
BEFORE=$(wc -l < data/usage_history.jsonl)
# Run search with --no-track
./run_search.sh "no track test" --mode static --no-track
# Count events after
AFTER=$(wc -l < data/usage_history.jsonl)
echo "Events should be same: before=$BEFORE, after=$AFTER"Expected: No new events logged when --no-track is used.
Verify memory_config.py is the single source of truth.
cd resources/local-brain-search
# Print current configuration
python memory_config.py
# Verify spreading uses config
python -c "
from memory_config import MEMORY_CONFIG
print('Spreading max_iterations:', MEMORY_CONFIG['spreading']['max_iterations'])
print('Learning enabled:', MEMORY_CONFIG['learning']['enabled'])
print('Q-weight:', MEMORY_CONFIG['learning']['q_weight'])
"Expected:
Measure search latency for both modes.
cd resources/local-brain-search
# Benchmark static search
time (for i in {1..5}; do ./run_search.sh "dopamine" --mode static --limit 10 --no-track > /dev/null; done)
# Benchmark spreading search
time (for i in {1..5}; do ./run_search.sh "dopamine" --mode spreading --limit 10 --no-track > /dev/null; done)Expected:
Test boundary conditions.
cd resources/local-brain-search
# Empty query
./run_search.sh "" --mode spreading --limit 5 2>&1
# Very long query
./run_search.sh "$(python -c 'print("dopamine " * 100)')" --mode spreading --limit 5 2>&1
# Non-existent topic
./run_search.sh "xyznonexistenttopicxyz" --mode spreading --limit 5 --json
# Unicode query
./run_search.sh "意識 consciousness" --mode spreading --limit 5 --jsonExpected:
After running all tests, generate a comprehensive report.
REPORT_DIR="resources/memory-test-reports"
REPORT_FILE="$REPORT_DIR/test-report-$(date +%Y-%m-%d-%H%M).md"
mkdir -p "$REPORT_DIR"# Memory System Test Report
**Date:** YYYY-MM-DD HH:MM
**Tester:** [name]
**System Version:** Cornelius v01.25
## Summary
| Component | Status | Notes |
|-----------|--------|-------|
| Intent Classification | ✓/✗ | |
| Spreading Activation | ✓/✗ | |
| Lateral Inhibition | ✓/✗ | |
| Usage Tracking | ✓/✗ | |
| Q-Value Learning | ✓/✗ | |
| Configuration Loading | ✓/✗ | |
| Performance | ✓/✗ | |
## Detailed Results
### Intent Classification
- Accuracy: X%
- Failures: [list]
### Spreading vs Static
- Result overlap: X/5
- Spreading found cross-domain connections: Y/N
- Example good result: [describe]
### Lateral Inhibition
- Hub dominance reduced: Y/N
- Diversity improved: Y/N
### Learning System
- Events tracked: X
- Q-values updated correctly: Y/N
- Ranking adjustment working: Y/N
### Performance
- Static search avg: Xms
- Spreading search avg: Xms
- Acceptable: Y/N
## Issues Found
1. [Issue description]
- Severity: High/Medium/Low
- Steps to reproduce: [steps]
- Suggested fix: [suggestion]
## Recommendations
1. [Recommendation]
2. [Recommendation]
## Next Steps
- [ ] Address issues found
- [ ] Move to Phase 2 (Extended Graph) if all passes
- [ ] Enable spreading as default mode if stableIf tests fail:
requirements.txt installed in venvpython index_brain.py to rebuild index./run_learning.sh reset --confirm to resetmemory_config.py syntax© Abilityai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/test-memory-system of Abilityai/cornelius.
Open the folder on GitHubat commit fd5e9a4
Test Memory System next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Test Memory System this skillAbilityai/cornelius | 109 | — | ~3.4k | Automated safety check: Notes | MIT | |
| Brainjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~1.9k | Automated safety check: Pass | Apache-2.0 | |
| Skill Improversickn33/agentic-awesome-skills | 47k | 2 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Brain Taxonomistgarrytan/gbrain | 31k | — | ~2.3k | Automated safety check: Pass | MIT | |
| Improve Oaselastic/kibana | 21k | — | ~4.8k | Automated safety check: Pass | Custom licence | |
| Brainbrycewang-stanford/Awesome-Journal-Skills | 1.2k | — | ~2k | Automated safety check: Pass | MIT |
jeremylongshore/tons-of-skills-marketplace
Answers questions about your own systems, notes, decisions, runbooks, and conventions from your governed knowledge brain, returning a qmd:// citation for every claim — receipts, not recall.
sickn33/agentic-awesome-skills
Iteratively improve a Claude Code skill using the skill-reviewer agent until it meets quality standards.
garrytan/gbrain
Filing gate for ALL brain writes. An agent skill from garrytan/gbrain.
elastic/kibana
Add or improve OpenAPI descriptions, examples, and code samples for a Kibana API area.
brycewang-stanford/Awesome-Journal-Skills
A skill your agent uses when targeting Brain or deciding whether a clinical-neurology or translational-neuroscience study fits this venue.
majiayu000/claude-skill-registry
A skill your agent uses when the user says brain, project knowledge, what do we know about, open tasks, or recent decisions, or runs /brain or /brain-update.
Abilityai/cornelius
Generate images using Google's Nano Banana (Gemini 2.5 Flash Image).
Abilityai/cornelius
Protocol for creating dated changelog files after significant agent sessions.
Abilityai/cornelius
Create long-form articles from knowledge base insights. An agent skill from Abilityai/cornelius.
Abilityai/cornelius
Framework for distinguishing research findings from hypotheses and speculative synthesis.
Abilityai/cornelius
Extract the transcript from a YouTube video by URL or video ID.
Abilityai/cornelius
Standard format for capturing and documenting insights in the knowledge base.
Comprehensive testing playbook for Local Brain Search memory improvements (Phases 1, 3, 4). Test Memory System is an agent skill from Abilityai/cornelius.
Run `npx skills add Abilityai/cornelius --skill test-memory-system -a claude-code`. Or copy the skill folder (.claude/skills/test-memory-system in Abilityai/cornelius) into .claude/skills/test-memory-system in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Abilityai/cornelius --skill test-memory-system -a codex`. Or copy the skill folder (.claude/skills/test-memory-system in Abilityai/cornelius) into .agents/skills/test-memory-system in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Abilityai/cornelius --skill test-memory-system -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-memory-system, .gemini/skills/test-memory-system, .github/skills/test-memory-system and .opencode/skills/test-memory-system in your project.
Going by SKILL.md and its folder, Test Memory System needs the command-line tools its instructions call (python and pip). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read, Write, Glob, Grep.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Test Memory System is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.4k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Test Memory System: Brain (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Skill Improver (sickn33/agentic-awesome-skills, 47k stars), Brain Taxonomist (garrytan/gbrain, 31k stars) and Improve Oas (elastic/kibana, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Abilityai (a GitHub organization) maintains it in Abilityai/cornelius, which has 109 GitHub stars. The repository holds 51 skills in this directory. The repository was last updated on September 22, 2026.
Source: Abilityai/cornelius on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.