| name | spl-capture |
| description | Capture a Sales Pipeline noun into the shared second brain via the deterministic write helper. |
spl-capture
Process
- If more than one agent writes the shared brain, open an isolation session (
spl-session) and export SECOND_BRAIN_ROOT.
Claim identity grok-bot/sales-pipeline (or deep-agents/sales-pipeline on Deep Agents).
- Identify the noun type from the allowed list (see README).
- Collect title, status, author identity, and optional typed links.
- Write with the helper — do not hand-author frontmatter unless the user insists:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/spl_common.py" write \
--bundle knowledge \
--type SalesLead \
--folder sales-leads \
--title "Example SalesLead" \
--author "Grok Bot: Sales Pipeline" \
--tags "spl"
- Add typed links in a follow-up edit if needed (
rel values from docs/typed-edges.md).
- Validate.
Allowed types: SalesLead, Opportunity, Deal, Stage, NextAction, Objection, Competitor, Champion, EconomicBuyer, TechnicalBuyer, Proposal, Quote, Contract, NegotiationNote, WinLossReason, SalesCampaign, OutreachSequence, Touchpoint, ForecastEntry, PipelineSnapshot, ReferralSource.