Dev & Engineering persistent-memorycoding-agent-contextpersonal-rulescron-jobsskill-ecosystemknowledge-management

Context Infrastructure Reference Implementation

A context and memory blueprint for AI coding agents — persistent memory, personal rules, skills, and scheduled observations that make your assistant truly know you.

FollowAgents review · FARS-2.1
Not recommended
54/ 100 5-point scale 2.7 / 5
1 2 3 4 5 6
1Trust11 / 29 · 1.9/5

Evidence: README clearly describes data flow (three-layer memory, observations, cron jobs) with a .env.example template, giving adequate flow transparency. Deductions: observer.py/reflector.py run via cron, share_report publishes externally, and the VLM OCR path sends PDF content (potentially sensitive) as base64 to an external API — with no least-privilege design, user-confirmation gate, or sanitization guidance; no rollback or recovery path is documented; dependency security for external skill repos and .env secrets is template-only with no lockfile or audit note. MIT license and author background links justify a mid score for attribution.

2Reliability9 / 14 · 3.2/5

Evidence: the test file covers CliError failure paths and a doctor command checking dependencies (requests/docling/lmstudio), showing deliberate failure and dependency handling; README structure and skill naming are internally consistent. Deductions: only one skill has visible tests; core scripts (observer/reflector) show no test evidence, and cron-job failure reporting is undocumented.

3Adaptability10 / 18 · 2.8/5

Evidence: README explicitly targets developers building their own context system, honestly positions itself as a reference implementation rather than a turnkey tool, and states capability boundaries ('display layer cannot be copied, data must be collected yourself'). Multi-environment support (Claude Code/OpenCode/Cursor) is stated. Deductions: cron trigger precision rests on a single docs file, and non-Unix platform fit is unaddressed.

4Convention11 / 18 · 3.1/5

Evidence: clean directory layout with a coherent three-layer split, complete install notes (Quick Start + setup_guide.md), honest known limitations, and explicit MIT license. Deductions: no CHANGELOG or version tags; maintenance responsibility is only the narrative of 'running for a year' with no update commitment; the 43 axioms and 25+ skills cited are not visible in reviewed files, so the examples score is conservative.

5Effectiveness9 / 13 · 3.5/5

Evidence: outputs are structured markdown context plus runnable scripts; the 'with vs without context' quick-start comparison is a sensible design, and the frankness about required user investment is a plus. Deductions: core value depends on sustained user effort and cannot be verified statically; no cost hint for external VLM OCR API usage.

6Verifiability4 / 8 · 2.5/5

Evidence: most README claims trace to concrete files (directory tree, license, setup guide), and the README cleanly separates 'directly usable' from 'reference only', giving good fact/inference separation. Deductions: external linked skill repos are unverifiable from this repository, and numeric claims ('one year of operation', '43 axioms') rest solely on self-report.

Evidence confidence: Low Reviewed Sep 07, 2026 Reviewed revision 421df58bcb2f
Safety controls not found in source: rollback or recovery path
Before you use it
  • VLM OCR sends PDF content (potentially sensitive) as base64 to an external API; verify data boundaries and self-host the endpoint before use.
  • observer/reflector run long-term via cron and write personal memory files; review script permissions and disk usage before deployment — the repo offers no rollback mechanism.
  • Core value requires ongoing personal data collection; do not expect a turnkey tool. External skill repos are unverified within this repository — audit them separately before installing.
  • share_report publishes reports externally; confirm sensitivity of content before enabling it.
Review evidence [1][2]
See the full review method →

What does this agent do, and when should you use it?

This repository is the complete structure of a context infrastructure system the author has run for a year, positioned as a reference implementation rather than a turnkey tool. It is built around files and Markdown: AGENTS.md serves as the routing entry point for every session, the rules/ directory provides identity (SOUL.md), user profile (USER.md), and communication style (COMMUNICATION.md) templates, and contexts/memory/OBSERVATIONS.md carries the three-layer memory system. The periodic_jobs/ai_heartbeat/ folder contains observer.py (daily observation) and reflector.py (weekly reflection), two Python scripts scheduled via crontab to accumulate memory. The presentation layer — 43 decision axioms and 25+ skills — reflects the author's personal experience and is meant for reference only, while the reusable layer of templates and memory-system code can be adopted directly. The deployment boundary is a local repository plus scheduled jobs; heavier capabilities (search, email, documents) ship as separate public skill repos, keeping the main repo lightweight.

The flow starts by cloning the repo and opening the directory in Claude Code, OpenCode, or Cursor, where the agent reads AGENTS.md as its session routing table; filling in rules/USER.md with your preferences and background immediately personalizes agent behavior. Operationally, once crontab is configured, observer.py runs daily to write observations into OBSERVATIONS.md (the L1/L2 memory layers) and reflector.py runs weekly to produce reflections, following the SOP in periodic_jobs/ai_heartbeat/docs/KNOWLEDGE_BASE.md and the design in PRD.md. rules/skills/ holds 25+ reusable skills and rules/axioms/ holds 43 decision axioms as showcase samples. Scheduling guidance is in docs/CRONTAB.md; extended capabilities (web search, Google Docs, Google Maps, email/newsletter, PPTX, payment analytics, and more) are installed from the independent skill repos listed in docs/SKILL_ECOSYSTEM.md, with semantic search moved to grapeot/semantic-search-skill.

  1. A developer using Claude Code long-term who wants the assistant to remember technical preferences, project background, and communication style across sessions instead of re-explaining each time
  2. A user building a personal knowledge system who needs a scheduled daily-observation plus weekly-reflection pipeline (observer.py + reflector.py via crontab)
  3. A newcomer to AI coding tools who wants to fill in the rules/USER.md template and experience the personalized 'with context vs without context' difference within 5 minutes
  4. An engineer designing their own context system who needs a concrete reference for directory layout, data flow, and memory-layer design
  5. An advanced user extending an AI workflow who can selectively install independent skill repos from docs/SKILL_ECOSYSTEM.md for search, documents, email, PPTX, social media, and more

What are this agent's strengths and limitations?

Pros
  • A complete reference implementation refined over a year of real use — directory structure, data flow, and memory layering are all concretely inspectable, not just conceptual design
  • Clean three-layer structure: template layer (USER.md, SOUL.md, COMMUNICATION.md) is fill-and-use, memory-system code (observer.py/reflector.py) is reusable, and personal axioms are clearly marked as reference-only
  • Lightweight main repo; heavy capabilities (search, email, documents, payment analytics) ship as separately installable skill repos
  • A full documentation chain — setup_guide.md, CRONTAB.md, PRD.md, KNOWLEDGE_BASE.md — covers configuration through memory SOP
Limitations
  • Core value depends on long-term collection of personal behavioral data; the README states plainly there is no shortcut, making cold-start cost high
  • Limited out-of-the-box value: the 43 axioms and 25+ skills reflect the original author's perspective and cannot replace your own accumulation
  • The memory system requires manually configuring crontab jobs, and the environment variables behind .env.example are not fully documented in the README
  • The repository metadata lists the license as unknown while the README says MIT — verify before adopting
  • Primary documentation and commentary are Chinese; English users must rely on the separate context-infrastructure-en repo

How do you install or deploy this agent?

  1. Clone the repo: git clone https://github.com/grapeot/context-infrastructure && cd context-infrastructure
  2. Open the directory with Claude Code / OpenCode / Cursor
  3. Configure environment variables based on .env.example (the README does not enumerate them)
  4. Open rules/USER.md and fill in your basic information — the highest-ROI step
  5. Full steps are in setup_guide.md; to enable the memory system, configure crontab entries for observer.py (daily) and reflector.py (weekly) per docs/CRONTAB.md

How do you use this agent?

  1. Each session starts with the agent reading the AGENTS.md routing table at the repo root
  2. Maintain your preferences in rules/USER.md and tune the agent's identity in rules/SOUL.md
  3. Let the observation scripts run on cron; memory accumulates in contexts/memory/OBSERVATIONS.md
  4. Survey reports, daily records, and thought reviews live in contexts/survey_sessions/, daily_records/, and thought_review/
  5. For more capabilities, install independent skill repos listed in docs/SKILL_ECOSYSTEM.md (web search, Google Docs, Google Maps, email/newsletter, PPTX, payment analytics, etc.)
  6. Note: true personalization requires collecting your own behavioral data from scratch; the showcased axioms and skills are reference only

How does this agent compare with similar options?

The README splits semantic search into the standalone grapeot/semantic-search-skill repo and composes full capabilities from the multiple public skill repos listed in SKILL_ECOSYSTEM.md; the source names no other concrete competitors, so no comparison should be fabricated.

FAQ

Will the AI understand me immediately after cloning?
Not fully. Filling in rules/USER.md personalizes behavior right away, but the README states that making the AI truly yours requires collecting your own behavioral data from scratch — there is no shortcut.
What runtime do I need?
An AI coding agent that supports this workflow (Claude Code, OpenCode, or Cursor), a local shell and filesystem; the memory system also needs cron to run observer.py and reflector.py.
Can I copy the axioms and skills directly?
No. They are the presentation layer, distilled from the author's year of experience. Use them to understand structure and formation; the directly usable parts are the USER.md and SOUL.md templates, COMMUNICATION.md, and the memory-system code.
Where are the search, email, and document features?
The main repo is intentionally lightweight. These live in independent public skill repos listed in docs/SKILL_ECOSYSTEM.md — for example, semantic search has moved to grapeot/semantic-search-skill — and must be installed separately.
Is this a turnkey product?
No. The README positions it as a reference implementation and blueprint showing what the system looks like, how data flows, and how memory accumulates; adopters must do their own setup and data collection.

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related agents