From prism-devtools
[DEPRECATED] PRISM-Memory has been archived. This skill is no longer active.
npx claudepluginhub resolve-io/.prismThis skill uses the workspace's default tool permissions.
> **DEPRECATED (2026-02-16):** PRISM-Memory has been archived to `Documents/Archive/PRISM-Memory.7z`. This skill is no longer active. The memory configuration in `core-config.yaml` has been disabled.
Enables AI agents to execute x402 payments with per-task budgets, spending controls, and non-custodial wallets via MCP tools. Use when agents pay for APIs, services, or other agents.
Provides patterns for autonomous Claude Code loops: sequential pipelines, agentic REPLs, PR cycles, de-sloppify cleanups, and RFC-driven multi-agent DAGs. For continuous dev workflows without intervention.
Applies NestJS patterns for modules, controllers, providers, DTO validation, guards, interceptors, config, and production TypeScript backends with project structure and bootstrap examples.
DEPRECATED (2026-02-16): PRISM-Memory has been archived to
Documents/Archive/PRISM-Memory.7z. This skill is no longer active. The memory configuration incore-config.yamlhas been disabled.
Set up Obsidian vault and populate it with existing codebase knowledge.
pip install python-frontmatter)python skills/context-memory/utils/init_vault.pydocs/memory/PRISM_OBSIDIAN_VAULT for custom locationcd .prism
pip install python-frontmatter
python skills/context-memory/utils/init_vault.py
This creates:
docs/memory/ vault folder (at project root).gitignore configurationDefault location: docs/memory/ (one level up from .prism/)
Custom location: Set PRISM_OBSIDIAN_VAULT in .env file
# Check vault exists (from project root)
ls -lh docs/memory/
# Check structure
ls docs/memory/PRISM-Memory/
# View stats
python -c "from skills.context-memory.utils.storage_obsidian import get_memory_stats; print(get_memory_stats())"
Create/update .claude/hooks.json:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "python ${CLAUDE_PLUGIN_ROOT}/hooks/capture-file-context-obsidian.py"
}
]
},
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "python ${CLAUDE_PLUGIN_ROOT}/hooks/capture-commit-context-obsidian.py"
}
]
}
]
}
}
Ask Claude Code to analyze key files:
"Please analyze the main entry points and core modules in this project"
Claude will:
For instant synchronization with Obsidian:
.prism/.env:
cd .prism
cp .env.example .env
# Edit .env and replace 'your-api-key-here' with your actual key
python skills/context-memory/utils/obsidian_rest_client.pySecurity: Never commit .env - it contains your personal API key!
Benefits: Instant updates in Obsidian, 10x faster search
See: skills/context-memory/reference/obsidian-rest-api.md for details
docs/memory/ (from project root)# Check stats
python -c "from skills.context-memory.utils.storage_obsidian import get_memory_stats; import json; print(json.dumps(get_memory_stats(), indent=2))"
# Test search
python -c "from skills.context-memory.utils.storage_obsidian import recall_query; results = recall_query('authentication'); print(f'Found {len(results)} results')"
# Browse notes (from project root)
ls docs/memory/PRISM-Memory/Files/
ls docs/memory/PRISM-Memory/Patterns/
With hooks enabled, all future edits are captured automatically:
Files/Commits/After completion:
docs/memory/PRISM-Memory/
├── Files/ # File analyses (mirrors source structure)
│ └── src/
│ └── auth/
│ └── jwt.ts.md
├── Patterns/ # Code patterns by category
│ └── Architecture/
│ └── Repository Pattern.md
├── Decisions/ # Architectural decisions
│ └── 2025-01-15 Use JWT for Auth.md
├── Commits/ # Git commits by month
│ └── 2025-01/
│ └── abc1234-add-authentication.md
└── Index/ # Overview and navigation
├── README.md
├── File Index.md
└── Pattern Index.md
⌠Vault does not exist: docs/memory
Solution: Run python skills/context-memory/utils/init_vault.py from .prism/ directory
ModuleNotFoundError: No module named 'frontmatter'
Solution: Run pip install python-frontmatter
Check:
.claude/hooks.jsondocs/memory/ (from project root).prism-memory-log.txt for errors.prism-memory-api-log.txt (if using API)Solution:
.envrecall_query("authentication patterns")