Loading...
Loading...
Portable .agent/ folder with memory, skills, and protocols that works across Claude Code, Cursor, Windsurf, and other AI coding harnesses
npx skill4agent add aradotso/ai-agent-skills agentic-stack-portable-agent-memorySkill by ara.so — AI Agent Skills collection.
.agent/# Tap and install (both lines required)
brew tap codejunkie99/agentic-stack https://github.com/codejunkie99/agentic-stack
brew install agentic-stack
# Install into your project
cd your-project
agentic-stack claude-codegit clone https://github.com/codejunkie99/agentic-stack.git
cd agentic-stack
.\install.ps1 claude-code C:\path\to\your-projectgit clone https://github.com/codejunkie99/agentic-stack.git
cd agentic-stack
./install.sh claude-codebrew update && brew upgrade agentic-stack
cd your-project
agentic-stack upgrade --dry-run
agentic-stack upgrade --yesclaude-codecursorwindsurfopencodeopenclawcopilot-cligeminihermespicodexstandalone-pythonantigravity# Interactive dashboard
agentic-stack dashboard
# Web-based mission control (beta)
agentic-stack mission-control
# Check adapter status
agentic-stack status
# Audit installation health
agentic-stack doctor
# Interactive adapter manager
agentic-stack manage
# Add additional adapter
agentic-stack add cursor
# Remove adapter
agentic-stack remove cursor# Preview infrastructure updates
agentic-stack upgrade --dry-run
# Apply updates (preserves memory and custom skills)
agentic-stack upgrade --yes
# Rebuild skill manifest
agentic-stack sync-manifest# Install Brain CLI
brew install codejunkie99/tap/brain
# Check Brain status
agentic-stack brain status
# Onboard project to Brain
agentic-stack brain onboard --agents codex,cursor --yes
# Query Brain memory
agentic-stack brain ask "auth decisions"
# Write to Brain memory
agentic-stack brain note "Use PKCE for local OAuth flows."
# Get MCP command
agentic-stack brain mcp-command# Export/import memory between projects
agentic-stack transfer.agent/
├── memory/
│ ├── personal/PREFERENCES.md # User preferences (read first)
│ ├── semantic/ # Conceptual knowledge
│ ├── episodic/ # Session history
│ ├── working/ # Active context
│ └── .features.json # Feature toggles
├── skills/
│ ├── _manifest.jsonl # Skill registry
│ ├── brain/ # Brain integration skill
│ ├── data-layer/ # Harness monitoring
│ ├── data-flywheel/ # Training artifact export
│ ├── design-md/ # DESIGN.md workflows
│ └── tldraw/ # Visual canvas (opt-in)
├── tools/
│ └── brain_bridge.py # Brain API wrapper
├── harness/
│ └── adapters/ # Adapter-specific configs
└── install.json # Installed adapters manifest.agent/memory/personal/PREFERENCES.md# Accept all defaults (CI mode)
agentic-stack claude-code --yes
# Re-run wizard on existing project
agentic-stack claude-code --reconfigure[BETA][BETA].agent/memory/personal/PREFERENCES.md---
name: Alex
languages: [Python, TypeScript]
explanation_style: detailed
test_strategy: test-first
commit_style: conventional commits
review_depth: thorough
---
# Personal Preferences
I prefer async/await over callbacks. Use descriptive variable names.
Always include error handling for network requests..agent/memory/.features.json{
"fts_search": false,
"tldraw": false
}# View preferences
cat .agent/memory/personal/PREFERENCES.md
# Add personal context
echo "## Code Style\n\nPrefer functional composition over inheritance." >> .agent/memory/personal/PREFERENCES.md# .agent/memory/semantic/architecture_decisions.md
"""
Document lasting project knowledge
""".agent/skills/my-custom-skill/
├── SKILL.md # Main skill definition
├── README.md # Documentation
└── tools/ # Optional tool scripts
└── helper.py---
name: my-custom-skill
description: Does something specific for this project
version: 1.0.0
triggers:
- use my custom skill
- apply custom workflow
---
# My Custom Skill
## What It Does
Detailed explanation...
## When to Use
- Trigger condition 1
- Trigger condition 2
## Examples
\```python
# Working code example
\```agentic-stack sync-manifest# Interactive multi-select
cd your-project
./install.sh
# Or add individually
agentic-stack add claude-code
agentic-stack add cursor
agentic-stack add windsurfagentic-stack status✓ claude-code (active)
✓ cursor (active)
✗ windsurf (not installed)agentic-stack manage# From within agent session, trigger:
# "show me the harness dashboard"
# "generate daily report"
# Or manually:
from pathlib import Path
import sys
sys.path.insert(0, str(Path.cwd() / ".agent" / "skills" / "data-layer"))
from dashboard import generate_dashboard
generate_dashboard()open .agent/data/dashboard.html
cat .agent/data/daily-report.mdfrom pathlib import Path
import sys
sys.path.insert(0, str(Path.cwd() / ".agent" / "skills" / "data-flywheel"))
from export import export_run
# Export specific run
export_run(
run_id="2026-05-16-auth-refactor",
redact_secrets=True,
include_context=True
)traces/context-cards/eval-cases/training.jsonlmetrics.json#!/usr/bin/env python3
from pathlib import Path
import sys
sys.path.insert(0, str(Path.cwd() / ".agent" / "tools"))
from brain_bridge import query_brain, write_brain
# Query across projects
results = query_brain("authentication patterns")
for hit in results:
print(f"{hit['project']}: {hit['content']}")
# Write durable note
write_brain(
content="OAuth refresh tokens expire after 30 days",
tags=["auth", "security"]
)# Get MCP stdio command for harness config
agentic-stack brain mcp-command.claude/mcp.json{
"mcpServers": {
"brain": {
"command": "brain",
"args": ["serve"]
}
}
}agentic-stack doctoragentic-stack add <adapter>agentic-stack remove <adapter>agentic-stack upgrade --yes# Rebuild from installed SKILL.md files
agentic-stack sync-manifestpython3 --versionbrew install python@3.11# Synthesize install.json from on-disk adapters
./install.sh doctor# Install Brain CLI first
brew install codejunkie99/tap/brain
# Verify installation
brain --version# Remove conflicting adapter
agentic-stack remove cursor
# Clean reinstall
agentic-stack add cursor# Optional: Custom Brain path
export BRAIN_PATH="$HOME/.config/brain"
# Optional: Override .agent directory
export AGENTIC_STACK_DIR=".agent"cd my-project
agentic-stack claude-code
# Work exclusively in Claude Codecd my-project
agentic-stack add claude-code
agentic-stack add cursor
agentic-stack add windsurf
# Switch between tools without losing context# Scripted install (no interactive prompts)
agentic-stack claude-code --yes
# Verify installation
agentic-stack doctor || exit 1# Export from old project
cd old-project
agentic-stack transfer
# Follow export prompts, save curl command
# Import to new project
cd new-project
# Paste and run curl command# 1. Create skill directory
mkdir -p .agent/skills/my-skill
# 2. Write SKILL.md with frontmatter
cat > .agent/skills/my-skill/SKILL.md << 'EOF'
---
name: my-skill
description: Custom skill for X
version: 1.0.0
triggers: ["use my skill"]
---
# My Skill
...
EOF
# 3. Sync manifest
agentic-stack sync-manifest
# 4. Verify
grep "my-skill" .agent/skills/_manifest.jsonl# 1. Preview changes
agentic-stack upgrade --dry-run
# 2. Review output
# 3. Apply if safe
agentic-stack upgrade --yes
# 4. Verify
agentic-stack doctorupgrade