원클릭으로
intelligence-learn-from-context
Capture session lessons and apply to intelligence/ after approval
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Capture session lessons and apply to intelligence/ after approval
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create new specialized agent
Audit the intelligence layer for duplication, drift, size, hardcoded paths and framing
Disable IDE adapter and clean up output
Enable IDE adapter for intelligence-sync
Create new skill
Update or migrate intelligence-sync: discover engine, read changelog, run migration chain, verify
| name | intelligence-learn-from-context |
| description | Capture session lessons and apply to intelligence/ after approval |
| argument-hint | <optional-lesson-statement> |
Use after a session where a meaningful preference, working pattern, or recurring friction emerged that should persist into future sessions. Runs in two phases — analyze (read-only) then apply (after user approval).
LLMs follow whatever is named. Negation ("never do X") often draws attention to X. Positive framing ("default to Y", "prefer Y") steers behavior more cleanly.
This skill translates user-stated lessons before encoding:
The original negative pattern stays in the rule body as an illustrative example (paired with positive replacement), but the LLM-facing instruction is positive.
Read authoring conventions first. Discover the paths, never assume them: the umbrella is the directory holding config.yaml (intelligence/, Intelligence/, a codename), and the engine module is the directory under it holding both scripts/sync.sh and scripts/VERSION (conventionally sync/). The meta-skills live in <module>/skills/, not directly under the umbrella. Load <module>/skills/intelligence-add-rule/SKILL.md, <module>/skills/intelligence-add-skill/SKILL.md, <module>/skills/intelligence-add-agent/SKILL.md, and <module>/docs/CONVENTIONS.md (Authoring Discipline section). This skill writes nothing on its own — it delegates to the add-* skills, which carry the authoring conventions.
Capture the lesson from session context or user input. Strip session-specific detail, keep the underlying pattern.
Translate to positive form:
Route to the right artifact type:
<umbrella>/rules/<name>.md)intelligence-extract-skill insteadpaths: frontmatterCheck for an existing artifact to extend: list the target directory and read titles. When the lesson fits an existing artifact's scope, propose UPDATE rather than CREATE. Artifact proliferation costs context space.
Output the proposal list — one entry per change, each with:
CREATE / UPDATE / ARCHIVENo files are written in this phase.
Present the proposal list to the user. User accepts or rejects per item. Only accepted items move to Phase B.
For each accepted item, delegate to the appropriate add-* skill or edit directly:
CREATE rule → call intelligence-add-ruleCREATE skill → call intelligence-add-skillCREATE agent → call intelligence-add-agentUPDATE existing artifact → edit the file directly, applying the proposed changeARCHIVE → move to <umbrella>/_archive/ and update cross-references that point at itRun /intelligence-sync once all accepted items are applied.
intelligence-extract-skill — when the lesson is a multi-step workflow to be made reusableintelligence-review-skills — broader audit across existing intelligence/ artifactsintelligence-add-rule, intelligence-add-skill, intelligence-add-agent — atomic creators that Phase B delegates to