brainstorm-matter
Schema-driven legal-engagement intake in discussion mode. Runs inside the public matter under a hypothetical-only safety guard, then on explicit user action promotes into a freshly-created private matter that inherits the intake state.
- License 许可
- CC-BY-4.0
- 所属仓库
- KairosPan/kairos
- 最近更新
- 2026-07-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- brainstorm-matter
- inputs
- { "$ref": "./schemas/inputs.json" }
- models
- { "cheap": "deepseek-v4-flash", "fallback": "claude-opus-4-7", "preferred": "claude-opus-4-7" }
- safety
- { "upl_check": "required", "disclaimer": "legal-research-only", "matter_scope": "enforced", "citation_verification": "not-applicable", "hypothetical_required": true, "jurisdiction_consistency": "advisory", "no_advice_until_promoted": true, "prohibit_real_identifiers": true }
- license
- CC-BY-4.0
- outputs
- { "$ref": "./schemas/outputs.json" }
- version
- 0.1.0
- risk_tier
- discussion
- maintainer
- kairos-core
- visibility
- tenant
- description
- Schema-driven legal-engagement intake in discussion mode. Runs inside the public matter under a hypothetical-only safety guard, then on explicit user action promotes into a freshly-created private matter that inherits the intake state.
- display_name
- Brainstorm Matter (Discussion-Mode Intake)
- jurisdictions
- [ "any" ]
- practice_areas
- [ "any" ]
- required_skills
- [ "issue-spotting-memo", "engagement-scope-sheet", "litigation-strategy-outline", "compliance-gap-memo" ]
- side_effect_class
- pure_read
- required_connectors
- []
02 资源文件 14
- 参考文档evals/golden_cases/gc-brainstorm-matter-001-contract-routine.yaml1.0 KB
- 参考文档evals/golden_cases/gc-brainstorm-matter-002-conflict-blocked.yaml1.2 KB
- 参考文档evals/golden_cases/gc-brainstorm-matter-003-hypothetical-rephrase.yaml1.3 KB
- 参考文档evals/intake_smoke.yaml679 B
- 参考文档prompts/approach-options.md581 B
- 参考文档prompts/artifact-compliance-gap-memo.md279 B
- 参考文档prompts/artifact-engagement-scope-sheet.md282 B
- 参考文档prompts/artifact-issue-spotting-memo.md279 B
- 参考文档prompts/artifact-litigation-strategy-outline.md287 B
- 参考文档prompts/intake-system.md1.0 KB
- 参考文档prompts/one-question.md691 B
- 参考文档schemas/inputs.json1.8 KB
- 参考文档schemas/outputs.json799 B
- 参考文档templates/promotion-summary.md778 B
03 SKILL.md 正文
Brainstorm Matter — Discussion-Mode Intake
Open an engagement-intake dialog with a prospective client or counsel.
Operates in the public matter; produces no advice and no work product
until the user explicitly promotes the session to a private matter.
See docs/superpowers/specs/2026-05-20-brainstorm-matter-skill-design.md
for the full design.
Process
- Load intake state from session storage.
- Ask the next unfilled
required_for_promotionfield as a single question. Prefer multiple-choice when the schema field is an enum. - Validate the user's reply through the hypothetical guard. If it flags, re-prompt with the rephrase / promote choice.
- When all required fields are filled, present 2-3 engagement approaches with tradeoffs and a recommendation.
- Render the promotion-summary preview (templates/promotion-summary.md).
- Wait for the user to click Promote to matter in the Studio UI
(or send
/matter promote). The skill body itself does NOT call the promotion endpoint — promotion is a user-initiated action. - After promotion, invoke the artifact skill named in
desired_artifact.
Hard rules
- Never write or speak a real person's name, organization name, case caption,
or document title while running in the public matter. Use anonymizing
labels (
Party A,the counterparty). - Never give legal advice while running in the public matter. Frame all responses as hypothetical / educational.
- Never invoke any skill other than the four declared in
required_skills.
04 同仓库更多 Skills
statute-compare
Compare statutory provisions on the same topic across two or more jurisdictions. Invoke when the user asks "regulation / comparison / difference / similarities and differences of X in A/B/C jurisdictions". Covers five dimensions: scope of application, elements, exceptions, penalties, effective date.
setup-interview
On first install/subscription of a skill, run a guided interview to learn the lawyer's playbook (jurisdiction / citation style / risk tolerance / output preferences) and write the answers to user/firm preferences. Mirrors the Anthropic plugin setup-interview UX. Feeds the §5 self-improving feedback source.
retrieval-hybrid
Run the §7.4 hybrid pipeline (structural filter → BM25/FTS5 → local semantic → citation graph → RRF fusion → local rerank → MMR) for one query, returning ranked candidates with full source provenance. Invoke whenever a skill needs to fetch passages from any matter (private or public) before drafting.
query-parser
Extract structured legal-research facets (jurisdiction, doc_type, citation_id, date_range, practice_area, matter_id) from a natural-language query. Invoked first by every retrieval-bearing skill (statute-compare, case-retrieve, ...).
document-intake
Advisory guidance on getting a document into a matter's private index: which file formats are supported, how confidentiality levels behave (privileged documents are stored but never FTS-indexed, per database-design §3.2), and where to upload. The actual ingestion + extraction + indexing is performed by the conversation file-upload route, NOT by this skill — this skill only explains the path.
disclaimer-injector
Inject the appropriate legal disclaimer (legal-research-only, in-house-counsel-only, or academic-use) into the trailing `disclaimer` field of a draft response. Mandatorily run by the Safety Gate; skill authors should not invoke directly.