example-skill
Toy skill used by skill-sdk tests.
- License 许可
- CC-BY-4.0
- 所属仓库
- KairosPan/kairos
- 最近更新
- 2026-07-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- a2a
- { "expose": true, "billing": { "model": "free" }, "endpoint_path": "/a2a/skills/example" }
- name
- example-skill
- inputs
- { "$ref": "./schemas/inputs.json" }
- limits
- { "max_tokens": 8000 }
- models
- { "fallback": "claude-opus-4-7", "preferred": "claude-opus-4-7" }
- safety
- { "upl_check": "not-applicable", "disclaimer": "legal-research-only", "matter_scope": "enforced", "citation_verification": "required", "jurisdiction_consistency": "required" }
- license
- CC-BY-4.0
- outputs
- { "$ref": "./schemas/outputs.json" }
- version
- 0.1.0
- eval_set
- ./evals/example-v1.jsonl
- languages
- [ "en" ]
- optimizer
- { "L2_rag": "enabled", "L4_model": "shadow", "L1_prompt": "enabled", "L3_routing": "enabled", "L6_self_mod": "disabled", "L5_synthesis": "disabled" }
- retrieval
- { "fusion": "rrf", "layers": [ "structural", "lexical" ], "rerank": { "local": "bge-reranker-v2-m3" }, "embedding": { "local": "bge-large-v1.5" }, "mmr_lambda": 0.5, "matter_isolation": "required", "citation_required": true }
- risk_tier
- low
- maintainer
- kairos-core
- visibility
- public
- description
- Toy skill used by skill-sdk tests.
- display_name
- Example Skill
- target_users
- [ "lawyer", "researcher" ]
- jurisdictions
- [ "agnostic" ]
- practice_areas
- [ "regulatory" ]
- required_skills
- []
- setup_interview
- { "required": false, "questions": [ "What is your primary practice jurisdiction?" ] }
02 资源文件 3
- 其他evals/example-v1.jsonl129 B
- 参考文档schemas/inputs.json402 B
- 参考文档schemas/outputs.json562 B
03 SKILL.md 正文
Example Skill
A test fixture.
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.