Install
$ agentstack add skill-ainova-systems-intelligence-sync-intelligence-learn-from-context ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Learn from Context
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).
Principle: positive framing
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:
- "Don't use NOT-comparison structures" → "State positively what IS"
- "Stop generating 3 options" → "Default to one strong recommendation"
- "Never push toward architecture framing" → "Reflect the user's framing in their own words first"
The original negative pattern stays in the rule body as an illustrative example (paired with positive replacement), but the LLM-facing instruction is positive.
Phase A — Analyze (read-only)
- Read authoring conventions first: load
intelligence/skills/intelligence-add-rule/SKILL.md,intelligence-add-skill/SKILL.md,intelligence-add-agent/SKILL.md, anddocs/CONVENTIONS.md(Authoring Discipline section). This skill writes nothing on its own — it delegates to the add-* skills, which carry authoring conventions.
- Capture the lesson from session context or user input. Strip session-specific detail, keep the underlying pattern.
- Translate to positive form:
- "Never do X" → "Default to Y"
- "Stop doing Y" → "Do Z instead"
- Already-positive lessons keep as-is.
Confirm the translation with the user if removing the negation changes meaning.
- Route to the right artifact type:
- Behavioral preference, tone, communication style → rule (
intelligence/rules/.md) - Multi-step repeatable workflow → use
intelligence-extract-skillinstead - Knowledge scope / persona / expertise area → agent
- Project-specific context tied to a path → scoped rule with
paths:frontmatter
- Check for an existing artifact to extend: list the target directory and read titles. When the lesson fits an existing artifact's scope, propose
UPDATErather thanCREATE. Artifact proliferation costs context space.
- Output the proposal list — one entry per change, each with:
- Action:
CREATE/UPDATE/ARCHIVE - Target file path
- Brief draft of the change (positive framing applied)
- One-line reasoning
No files are written in this phase.
User approval gate
Present the proposal list to the user. User accepts or rejects per item. Only accepted items move to Phase B.
Phase B — Apply (after approval)
- For each accepted item, delegate to the appropriate add-* skill or edit directly:
CREATErule → callintelligence-add-ruleCREATEskill → callintelligence-add-skillCREATEagent → callintelligence-add-agentUPDATEexisting artifact → edit the file directly, applying the proposed changeARCHIVE→ move tointelligence/_archive/and update cross-references that point at it
- Run
/intelligence-synconce all accepted items are applied.
Related skills
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
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: ainova-systems
- Source: ainova-systems/intelligence-sync
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.