Skill站外收录 @skilllib/skill-2014279411476934658
empirica-meta
支持 Empirica 系统的递归式自我演进,通过阅读架构文档、检索代码与日志、评估认知确定性后谨慎实施最小化修改,并全程遵循 PREFLIGHT / NOETIC / CHECK / PRAXIC / POSTFLIGHT 五阶闭环流程,确保每次改进都基于充分理解且可验证。
数据与分析 AI 技能
Skills.MD
# Empirica Meta-Agent Skill
## Philosophy
> "Same epistemic rules apply at every meta-layer."
This skill enables recursive self-improvement of Empirica using Empirica's own epistemic framework. When working on Empirica itself, apply the full CASCADE workflow.
## When to Use
Activate when:
- Fixing bugs in Empirica CLI or core
- Adding new features to the epistemic framework
- Reviewing/updating architecture documentation
- Investigating why workflows aren't working
- Proposing system improvements
## Workflow
### 1. PREFLIGHT - Assess Current Understanding
Before modifying Empirica, assess what you know about the specific area.
Use vectors: know, uncertainty, context, engagement.
### 2. NOETIC - Investigate Before Acting
- Read relevant architecture docs first
- Search for similar past changes via project-search
- Check for unknowns that might be related
- Log findings as you discover them
### 3. CHECK - Gate Before Implementation
Run CHECK to verify you're ready to modify the system.
Gate: know >= 0.70 AND uncertainty <= 0.35 (after bias correction)
### 4. PRAXIC - Implement with Care
- Follow self-improvement protocol from CLAUDE.md
- Prefer minimal edits
- Never modify core safety constraints
- Log high-impact findings (0.8+)
### 5. POSTFLIGHT - Measure Learning
- What did I learn about Empirica's architecture?
- Did the change work as expected?
- Are there follow-up improvements?
## Key Files
| Area | Files |
|------|-------|
| CLI Commands | empirica/cli/command_handlers/*.py |
| Core Logic | empirica/core/*.py |
| Sentinel | empirica/core/sentinel/*.py |
| Qdrant | empirica/core/qdrant/*.py |
| Database | empirica/data/*.py |
| Personas | empirica/core/persona/*.py, .empirica/personas/*.json |
| Emerged Personas | empirica/core/emerged_personas.py |
| Architecture Docs | docs/architecture/*.md |
| System Prompt | ~/.claude/CLAUDE.md |
## Self-Improvement Protocol
1. **Identify** - Recognize gaps through noetic investigation
2. **Validate** - Test the improvement before proposing
3. **Propose** - Tell user what you found and suggested fix
4. **Implement** - If approved, make minimal precise edits
5. **Log** - Record as finding with impact 0.8+
## Turtle Stack
Layer 4: Meta-Orchestrator (future)
Layer 3: Sentinel - aggregate, arbitrate, merge
Layer 2: Epistemic Agent - spawn, investigate, report
Layer 1: CASCADE Workflow - PREFLIGHT/CHECK/POSTFLIGHT
Layer 0: Breadcrumb Trail - findings, unknowns, dead ends
Each layer uses same 13 vectors. This skill operates at Layer 2-3.
## Gotchas
- Always read before editing (even for Empirica code)
- The system prompt is in ~/.claude/CLAUDE.md (global)
- Skill files go in .claude/skills/ (project)
- Condensed skills go in project_skills/ (for bootstrap)
- Check unknowns before logging new ones
- Commit after each goal (prevent drift)
- Sentinel is now wired via MCP (EMPIRICA_EPISTEMIC_MODE=true)
- PreToolCall hooks gate Edit/Write/Bash via CHECK
## References
- empirica --help - Full CLI reference
- docs/architecture/separation-of-concerns.md - What goes where
- docs/architecture/EPISTEMIC_AGENT_ARCHITECTURE.md - Turtle stack
- docs/architecture/QDRANT_EPISTEMIC_INTEGRATION.md - Semantic search
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「empirica-meta」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次