This page shows practical, repeatable ways teams use Postbrain in day-to-day work.
Best for: individual developers and pair-agent workflows.
- Start session in project scope.
- Run recall/context for the current task.
- Implement changes.
- Write memories for key decisions, tradeoffs, and commands.
- End session with summarize-session.
Example commands:
postbrain-cli snapshot --scope project:acme/api
postbrain-cli summarize-session --scope project:acme/apiOutcome:
- next session starts faster
- less repeated debugging and rediscovery
Best for: architecture and API decisions that must remain stable.
- Capture decisions as memories during implementation.
- At checkpoint/release, publish the durable decision as a knowledge artifact.
- Endorse/share the artifact so teams can find it quickly.
Typical pattern:
- memory while work is in progress
- knowledge artifact when decision is final enough to reuse
Outcome:
- better consistency across contributors
- fewer contradictory changes over time
Best for: engineering standards, onboarding, and incident runbooks.
- Store shared standards in a team/company scope.
- Keep project-specific adaptations in project scope.
- Recall from project scope to inherit relevant higher-level guidance.
Outcome:
- local flexibility with shared baseline standards
- easier onboarding for new team members and agents
Best for: production incidents and high-pressure troubleshooting.
- During incident, write short high-signal memories frequently.
- Tag entities (service names, files, components, incident ID).
- After incident, publish a postmortem knowledge artifact.
- Reuse artifact in future alerts and runbooks.
Outcome:
- faster repeat incident handling
- better post-incident learning retention
Best for: repositories used by both Codex and Claude Code.
- Install both skills in the same project.
- Use one shared project scope for task memory.
- Sync skills from registry as needed.
Example setup:
postbrain-cli install-codex-skill --target /path/to/project --url https://postbrain.example.com
postbrain-cli install-claude-skill --target /path/to/project --url https://postbrain.example.com
postbrain-cli skill sync --scope project:acme/api --agent claude-codeOutcome:
- consistent context across agent tools
- less tool-specific fragmentation
Best for: internal product assistants or support copilots.
- Chat app sends user query to your backend.
- Backend queries Postbrain in the correct scope.
- Backend sends curated context into ChatGPT prompt/tool call.
- Backend stores useful outcomes back to Postbrain.
Outcome:
- persistent memory without exposing raw tokens client-side
- controlled scope boundaries per workspace/customer
Best for: greenfield projects.
- Deploy Postbrain and create token.
- Set
POSTBRAIN_URLandPOSTBRAIN_TOKEN. - Install project skill(s).
- Define project scope naming convention early.
- Start using recall-before-task and remember-after-task discipline.
Outcome:
- structured memory from day one
- cleaner long-term project knowledge base
If you need one simple default policy:
- recall before every non-trivial task
- remember after every meaningful change
- publish durable outcomes at natural checkpoints
- keep scopes narrow by default