원클릭으로
reflect
Record learning exercise results back to the Cognition API. Updates the forgetting model.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Record learning exercise results back to the Cognition API. Updates the forgetting model.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Connect a notification channel (Slack, Gmail, etc.) so Cognition can send you learning exercises throughout the day — even when your laptop is off.
Schedule learning exercises for the next 24 hours via Slack/Gmail. Runs at the end of every session so exercises arrive even when Claude Code is closed. The API decides WHEN and WHAT technique — you build the exercise and schedule delivery.
Send screen observations to the Cognition API as learning events. Transforms Screenpipe data into API event format.
Launch the Cognition GUI app. Opens the Electron window and connects Claude Code to it via WebSocket. Use this after /cognition:start or whenever you need the GUI.
Generate and deliver a learning exercise based on what the user is forgetting. Orchestrates different learning techniques.
Test if the user's confidence matches their actual knowledge. Use when calibration ECE is high or strategy is "overconfident".
| name | reflect |
| description | Record learning exercise results back to the Cognition API. Updates the forgetting model. |
| user-invocable | false |
After any learning exercise, record the results back to the Cognition API so the forgetting model updates.
For each question the user answered, POST a quiz_answer event:
TOKEN=$(cat ~/.cognition/token)
curl -s -X POST -H "x-api-key: $TOKEN" -H "Content-Type: application/json" \
https://cognition-api.fly.dev/v1/events \
-d '{
"event": {
"schema_version": "1.0",
"event_id": "'$(python3 -c "import uuid; print(uuid.uuid4())")'",
"idempotency_key": "'$(python3 -c "import uuid; print(uuid.uuid4())")'",
"timestamp_ms": '$(python3 -c "import time; print(int(time.time()*1000))")',
"event_type": "quiz_answer",
"tenant": { "tenant_id": "TENANT_ID", "deployment_id": "prod" },
"user": { "user_id": "USER_ID", "pseudonymous_id": "USER_ID", "locale": "en", "timezone": "America/Chicago" },
"session": {
"session_id": "SESSION_ID",
"surface": "desktop_widget",
"app_context": "Other",
"device": { "os": "Windows", "device_type": "desktop", "screen": { "width": 1920, "height": 1080 } },
"attention": { "active_time_ms": 5000, "idle_time_ms": 0, "focus_switch_count": 0, "window_focus_ratio": 1.0 }
},
"provenance": { "source": "quiz" },
"privacy": { "consent_raw_text": true, "consent_embeddings_only": false, "pii_detected": false, "redaction_applied": false },
"payload": {
"quiz_session_id": "QUIZ_SESSION",
"quiz_id": "QUIZ_ID",
"quiz_version": "1.0",
"question_id": "Q1",
"question_type": "multiple_choice",
"difficulty": "medium",
"is_correct": true,
"evaluation_score": 1.0,
"latency_ms": 5000,
"hints_used": 0,
"solution_viewed": false,
"kc_node_id": "CONCEPT_ID",
"mastery_change": 0.0,
"concept_tagging": { "concepts": ["CONCEPT_ID"] }
}
}
}'
Replace placeholder values (TENANT_ID, USER_ID, etc.) with actual values from the current session context.
POST a delayed_probe event with the probe result:
curl -s -X POST -H "x-api-key: $TOKEN" -H "Content-Type: application/json" \
https://cognition-api.fly.dev/v1/probes/outcome \
-d '{
"probe_id": "PROBE_ID",
"concept_id": "CONCEPT_ID",
"horizon_days": 3,
"predicted_recall": 0.65,
"result_correct": true,
"result_score": 0.9,
"result_confidence": 0.8
}'
Confirm to the user what was updated: