AgentStack
SKILL verified MIT Self-run

Learn

skill-d-o-hub-rust-self-learning-memory-learn · by d-o-hub

Extract non-obvious session learnings into scoped AGENTS.md files

No reviews yet
0 installs
18 views
0.0% view→install

Install

$ agentstack add skill-d-o-hub-rust-self-learning-memory-learn

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

Are you the author of Learn? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Learn

Extract non-obvious session learnings into scoped AGENTS.md files to preserve knowledge across sessions.

When to Use

Activate after completing a non-trivial task to capture insights that would otherwise be lost.

Instructions

What to Capture (Non-Obvious Only)

  • Hidden relationships between files or scripts not obvious from code.
  • Execution paths that differ from what the code appears to do.
  • Non-obvious config, env vars, or flags (see root AGENTS.md and agent_docs/building_the_project.md).
  • Debugging breakthroughs where error messages were misleading.
  • Files that must change together (e.g., AGENTS.md + agent_docs/AVAILABLE_SKILLS.md when adding skills).
  • Build/test commands not documented in README.
  • Architectural constraints discovered at runtime.

What NOT to Capture

  • Obvious documentation or standard behavior.
  • Duplicates of existing entries.
  • Verbose explanations or session-specific notes.

Scoping Rules

Place learnings in the most specific AGENTS.md file:

  • Project-wide: Root AGENTS.md.
  • Script-specific: scripts/AGENTS.md.
  • Skill-specific: .agents/skills//AGENTS.md.

Dual-Write Requirement

Every new non-obvious insight must be recorded in two places:

  1. Verbose Log: Add a full LESSON-NNN entry to agent_docs/LESSONS.md with Issue/Root Cause/Solution.
  2. Distilled Note: Add a 1–3 line note to the nearest AGENTS.md (this is what learn automates).

If agent_docs/LESSONS.md does not exist yet, create it before relying on the dual-write workflow.

Format

  • 1–3 lines per insight in AGENTS.md.
  • Fits within MAX_LINES_AGENTS_MD=150 constraint.
  • Bulleted list under a "Learnings" or "Context" section.

Reference Files

  • agent_docs/LESSONS.md - Project-wide lessons log.
  • AGENTS.md - Root agent guidance and constraints.
  • agent_docs/README.md - Index of workflow-impacting reference files.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.