Skills.MD
# ELF Checkin Command
Interactive workflow to load the building context before starting work.
## What It Does
The `/checkin` command:
- Shows the ELF banner with ASCII art **first** (before any prompts)
- Queries the building for golden rules and heuristics
- Displays relevant context and frameworks
- Asks if you want to launch the dashboard **(first checkin only)**
- Asks which AI model you want to use **(first checkin only)**
- Checks for pending CEO decisions
- Loads and displays recent session context
## Usage
```bash
/checkin
```
The checkin command is simple - just type `/checkin` to load framework context and prepare your session.
## Execution
This skill runs the Python-based orchestrator in non-interactive mode:
```bash
python ~/.claude/emergent-learning/src/query/checkin.py --non-interactive
```
### Handling Non-Interactive Mode
The `--non-interactive` flag tells the script to output `[PROMPT_NEEDED]` JSON hints
instead of blocking on `input()`. When you see these in the output:
1. **Dashboard prompt**: `[PROMPT_NEEDED] {"type": "dashboard", ...}`
- Use `AskUserQuestion` tool to ask: "Start ELF Dashboard?"
- Options: "Yes (Recommended)" / "No"
- If yes, run: `bash ~/.claude/emergent-learning/dashboard-app/run-dashboard.sh`
2. **Model selection**: `[PROMPT_NEEDED] {"type": "model", ...}`
- Use `AskUserQuestion` tool to ask: "Which AI model for this session?"
- Options: "Claude (Recommended)" / "Gemini" / "Codex" / "Skip"
- Store selection for subagent routing
The orchestrator is a complete 8-step workflow:
- Step 1: Display banner
- Step 2: Load building context
- Step 3: Display golden rules & heuristics
- Step 4: Previous session summary (optional/async)
- Step 5: Dashboard prompt (first checkin only, with state tracking)
- Step 6: Model selection prompt (first checkin only, with persistence)
- Step 7: CEO decision checking
- Step 8: Ready signal
## Workflow Steps (8-Step Structured Process)
### Step 1: Display Banner ✓
Show ELF ASCII art immediately
- **Always shown** on every checkin
- **Signals** that framework is loading
### Step 2: Load Building Context ✓
Query the learning framework
- Loads golden rules (Tier 1)
- Loads heuristics (Tier 2)
- Loads recent patterns and learnings
### Step 3: Display Golden Rules & Heuristics ✓
Parse and format context for readability
- Shows rule count and key principles
- Displays relevant patterns
### Step 4: Previous Session Summary
Spawn async haiku agent to summarize recent work
- **Async execution** (doesn't block)
- Shows continuity with previous sessions
### Step 5: Dashboard Prompt ⚡ **NEW**
Ask user if they want to start the dashboard
- **Only on first checkin** (tracked via state file)
- "Start ELF Dashboard? [Y/n]"
- Launch in background if yes
- Never asked again in same conversation
### Step 6: Model Selection ⚡ **NEW**
Interactive prompt to select your active AI model
- **Only on first checkin** (state-tracked)
- Options: (c)laude / (g)emini / (o)dex / (s)kip
- Selection stored in `ELF_MODEL` environment variable
- Persists for subagent invocations
### Step 7: CEO Decisions
Check for pending CEO decisions in `ceo-inbox/`
- Lists count and first 3 items
- Informational only
### Step 8: Ready Signal ✓
Print completion message
- "✅ Checkin complete. Ready to work!"
- Marks first checkin complete (state file)
## Key Improvements (Full Spec Compliance)
✅ **Banner First** - Displayed before any prompts, not after
✅ **One-Time Prompts** - Dashboard and model selection appear only on first checkin
✅ **State Tracking** - Uses `~/.claude/.elf_checkin_state` to track conversation state
✅ **Model Persistence** - Selection stored in `ELF_MODEL` environment variable
✅ **Structured Workflow** - All 8 steps executed in proper sequence
✅ **Context Parsing** - Query output properly formatted for display
## Interactive Prompts
### Dashboard Prompt (First Checkin Only)
```
Start ELF Dashboard?
The dashboard provides metrics, model routing, and system health.
Start Dashboard? [Y/n]:
```
- Default: Yes (just press Enter)
- Launches in background if accepted
- Never asks again in same conversation
### Model Selection Prompt (First Checkin Only)
```
Select Your Active Model
Available models:
(c)laude - Orchestrator, backend, architecture (active)
(g)emini - Frontend, React, large codebases (1M context)
(o)dex - Graphics, debugging, precision (128K context)
(s)kip - Use current model
Select [c/g/o/s]:
```
- Stores choice in `ELF_MODEL` environment variable
- Used by subagent routing
- Default: Claude (s)kip option
## Integration with Building
The checkin workflow is your gateway to the building's knowledge:
- **Golden Rules** - Constitutional principles (always loaded)
- **Heuristics** - Reusable patterns and knowledge
- **Failures** - What went wrong and lessons learned
- **Successes** - What worked and can be replicated
- **Sessions** - Previous work summaries for continuity
Running checkin at the start of each session ensures you're working with current institutional knowledge.
评论 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
举报「elf-checkin」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次