Semantic Memory Assimilation
Agent BuildingSemantic Memory Assimilation is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Teaches the agent how to natively ingest and trust the V3 auto-synced memory files instead of hallucinating project state.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/context-management/skills-ab-aswini-agent-kit-p1/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/semantic-memory-assimilation, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
🧠 Semantic Memory Assimilation (V3.1 Skill)
Directive: Do not guess the structure of the user's project. Do not assume file locations. Read the dynamically generated memory.
When analyzing a codebase, you must pull your context directly from the V3 AST-aware sync outputs located in paths.memory (memory/global/).
1. Context Acquisition Targets
Before planning any architectural or coding task, check these ground-truth files:
architecture.md: Contains the physical directory layout, framework detection results, and language-specific Lines of Code (LOC) counts.api-contracts.md: Contains exactly which routes (Express, Next.js, FastAPI, etc.) are physically registered in the AST.dependencies.md: Contains the exhaustive list of production packages and their exact verified versions frompackage.json,requirements.txt, orCargo.toml.
2. Hallucination Prevention
- Never assume a route exists just because the user asks about it. Verify it against
api-contracts.md. - Never suggest installing a package before checking
dependencies.mdto see if it (or an equivalent) is already installed. - Always reference the specific framework versions (e.g., "Since
architecture.mdshows Next.js 14, we will use App Router").
3. Integration with the Antigravity Baseline
Combine this memory assimilation with the @Antigravity-Directive.md:
- Read AST memory.
- Formulate a Tree-of-Thought plan based only on the registered facts.
- Yield execution back to the IDE AI (Cursor/Copilot) via MCP.