Auny in a hood

agent-personalizer

Keep one profile and rule source in sync across the instruction files your AIs read.

Profile and rules One source USER.md Profile Renderer Agent files Drift check Fresh session
npx agent-personalizer
Star on GitHub

Profile and rulesEdit one source and generate the instruction file each AI reads.

USER.md owns the profile
  • RendererEach AI's own file

  • Drift checkFails on generated drift

  • Fresh sessionRe-paste changed exports

One profile and one rule source, rendered into the exact file each AI reads.
Files from the README: CLAUDE.md, AGENTS.md, GEMINI.md, Hermes SOUL.md, ChatGPT paste files.

What this does

One source. Kept in sync.

An earlier product tour. Setup now uses safe defaults instead of the questionnaire shown here.

Get started

Start with your profile. Add what you need.

  1. Run the installer

    Choose your project folder and the AIs you use. Level 1 is the default.

  2. Review your files

    Edit your profile and onboarding preferences. Session reading asks for consent and defaults to No.

  3. Confirm what loaded

    Start your AI in the project folder. Ask which instruction file loaded and confirm its writing policy before the first write.

npx agent-personalizer

npx agent-personalizer --dir . --ai claude,agents --level 1 --yes --defaults

node render/render.cjs --dir . --check

Node 24 or 26 (active LTS) is recommended; Node 22 or later runs.
Read the complete installation guide

Requirements

Node.js 22 or later

Node 24 or 26 (active LTS) is recommended. The installer, renderer and gate run on macOS, Linux and Windows.

A POSIX shell for the harness

The shell harness and session-start hook need a POSIX shell; use WSL or Git Bash on Windows.

Your AI tools

Claude Code, Codex, Cursor, Gemini CLI, Hermes Agent and ChatGPT are supported targets, selected at install.

A project folder

The first install asks for a destination folder unless --dir supplies it.

Keep one profile.

USER.md owns your profile and communication preferences. LEARNED.md keeps entries you confirmed or declined.

Where each instruction belongs

Give each AI its own file.

Render the instructions each target can carry: CLAUDE.md, AGENTS.md, GEMINI.md, Hermes SOUL.md and ChatGPT paste files.

Where each rendered file goes

Keep changes in sync.

At level 3, edit your sources, re-render and run the drift check. Start a fresh client session and re-paste changed chat exports.

What the code enforces

Evidence you can inspect

0.10.1
Package versionSource package.json
>=22
Node requirementSource package.json

Source-backed package facts you can inspect in the repository. Read the guarantees for rendering, drift checks and local operation. Package values are read from package.json at build time.

Releases

npm latest 0.10.2 ↗

v0.10.2

0.10.2

  • Bump ossf/scorecard-action to 2.6.0 (#56) and github/codeql-action/upload-sarif to 4.39.5 (#57) in .github/workflows/scorecard.yml.
  • Replace sequential HTML attribute entity decoding in website/check.mjs with single-pass entity lookup so & sequences are never double-unescaped, add --offline to the publish.yml tarball smoke install, enforce HTTPS TLS 1.2+ in notify-dev-site.yml, and run website/ security and live-build checks in harness.yml.
  • Tighten P_TOKEN in check/gate.cjs so Base62 npm_ and gh[pousr]_ token patterns still flag credentials while snake_case npm_config_* environment variables in scripts/record-demo.sh do not trigger false positives during --history scans.

Read release notes on GitHub ↗

v0.10.1

0.10.1

  • Respect CODEX_HOME for --global --ai agents (install, re-run, atomic rollback, learn and --uninstall), pre-selection and session discovery, and warn without modifying AGENTS.override.md when a non-empty override shadows AGENTS.md (#51).
  • Replace blanket ChatGPT file-access copy with surface-specific wording, and describe Codex memory notes as local to the machine or connected host (~/.codex or $CODEX_HOME) rather than global to an account (#52).
  • Document the enclosing Git info/exclude (and level-3 --precommit) exception to the project write boundary in README.md and docs/guarantees.md (#53).

Read release notes on GitHub ↗

v0.10.0

0.10.0

  • Add templates/GEMINI.md pointer headers, ## binding:gemini rule sections, .gemini/commands/personalize.toml for /personalize, hooks/gemini-cli/session-start.sh emitting SessionStart additionalContext JSON, and Google Antigravity (~/.gemini/config/GEMINI.md, 24,000-byte cap) documentation (#48).
  • Read Codex memories_v2/ (MEMORY.md, memory_summary.md, rollout_summaries/*.md) alongside legacy ~/.codex/memories/ (#46).
  • Ship skills/agent-personalizer/SKILL.md in the npm package (#50).

Read release notes on GitHub ↗

v0.9.0

0.9.0

  • Add opt-in compact rule rendering and a warn-only instruction file size budget.
  • Add an opt-in level-3 git pre-commit hook for the forbidden-string gate.

Read release notes on GitHub ↗

v0.8.7

0.8.7

  • Name Hermes Agent among the supported AIs in the package description, README, llms.txt, the skill description and the project page.

Read release notes on GitHub ↗

v0.8.6

0.8.6

  • Add Hermes Agent as a global target with a marked block in ~/.hermes/SOUL.md; project installs use the agents target.

Read release notes on GitHub ↗

v0.8.5

0.8.5

  • Audit 2026-10-29: find Claude Code sessions for project paths with spaces, dots and underscores while retaining legacy folder names.
  • Audit 2026-10-29: skip whole messages and Codex memory notes that match conservative secret patterns, reporting only the skip count.
  • Audit 2026-10-29: apply the 2,000-character message cap to Codex memory notes, retaining private-term filtering and the 20-file cap.

Read release notes on GitHub ↗

v0.8.4
  • --global applies a level-1 profile across Claude Code, Codex and Gemini CLI projects, with byte-preserving marked blocks, safe uninstall and shared atomic rollback (#29).
  • Levels 1 and 2 render the Core 5 rules; level 3 keeps all eleven and editable rule sources. Untouched older generated files refresh through recorded ownership; edited files stay for review (#33).
  • The 0.8.4 follow-up audit adds the Windows USERPROFILE fallback and home-free project AI defaults, preserves outside edits when uninstalling adopted pre-existing targets, and checks Markdown links after blank lines and escaped backticks.

Read release notes on GitHub ↗

v0.8.3

0.8.3

  • The README and llms.txt "Part of a set" section now renders from the shared set file. The README table has four rows, adds repo-build-skill, and uses each package's npm description. CI checks the rendered blocks and locked file hashes for drift offline.

Read release notes on GitHub ↗

v0.8.1

0.8.1

  • Re-render keeps user text outside generated blocks out of whole-file ownership updates and leaves legacy configurations without installed on the legacy removal path, so uninstall retains added instructions and removes untouched legacy targets (Codex audit 2026-10-17, F1; agy audit, A3).
  • Local notes paths inside tool-owned paths are refused, learn preserves edited or pre-existing .agent-personalizer/.gitignore and digest.md files without adopting their hashes, and uninstall keeps unrecorded or edited digest-folder files (Codex audit 2026-10-17, F2; agy audit, A5).
  • Renderer ownership configuration writes share target staging and rollback, with clean diagnostics on failure (Codex audit 2026-10-17, F3).

Read release notes on GitHub ↗

v0.8.0

0.8.0

  • Consent-gated local readers for recent Claude Code, Codex and Gemini CLI sessions, plus Codex memory notes. Readers stream bounded input, keep typed messages, skip automation and unsafe paths, and filter private-list matches without printing message text.
  • learn collects new evidence after a yes; learn --forget deletes the local digest without touching AI app history. The digest labels messages as data and stays in a gitignored local folder.
  • LEARNED.md at every install level owns confirmed, proposed and declined entries. Confirmed entries reach every personal AI target, declined entries tell the AI never to ask again, and --check detects unrendered entry edits.

Read release notes on GitHub ↗

v0.7.2

0.7.2

  • The Contributor License Agreement defines a Contribution as work submitted through a pull request, matching the pull request checkbox that records agreement.
  • The README Contributing section links the Contributor License Agreement and explains how agreement is recorded.

Read release notes on GitHub ↗

v0.7.1

0.7.1

  • The README opens with a 14-second promo trailer in the same format as the sibling repos. The terminal recording of the interview moves to the install guide.
  • Both GIFs load from GitHub, and GIFs no longer ship in the npm package.

Read release notes on GitHub ↗

v0.7.0

0.7.0

  • An interactive re-run shows your saved answers as the defaults and keeps saved values for questions it does not ask, so Enter no longer resets answers or clears the off-limits list (found 2026-10-05).
  • ChatGPT's profile export now follows edited and pre-existing USER.md files. Profiles byte-identical to the default generated profile keep their compact bytes; changed generated identity fields compact conservatively, and custom text stays in full with the existing budget warning (Codex audit 2026-10-04, F1).
  • Re-runs migrate untouched home-file pointer lines to the new notes path. Edited lines stay byte for byte and are named for manual review; the previous notes folder stays in place and in the uninstall inventory (Codex audit 2026-10-04, F2).

Read release notes on GitHub ↗

v0.6.4

0.6.4

  • CLAUDE.md now imports AGENTS.md so Claude Code loads the same contributor rules as every other agent from one file.
  • The feature form asks for an observable success check.
  • AGENTS.md names the re-render command.

Read release notes on GitHub ↗

v0.6.3

0.6.3

  • CI installs the packed tarball in a fresh consumer project on Linux and macOS, checking levels 1 and 2, ChatGPT paste files and the installed version (#26).

Read release notes on GitHub ↗

v0.6.2

0.6.2

  • npm keywords now match the GitHub topics, so npm search finds the package by the same terms: claude-md, gemini-md, system-prompt, ai-memory, llm, cli, mcp, obsidian and prompt-engineering added (11 to 20). No code or output changes.

Read release notes on GitHub ↗

v0.6.1

0.6.1

  • README install note drops the GitHub-source command; the npm command is the install path. docs/install.md shows the standard way to run one release: npx agent-personalizer@<version>.

Read release notes on GitHub ↗

v0.5.2

0.5.2

One Codex read-only round covered the export together with its first consumer. It returned no finding against the export: check 90 passed and the shared DIE_THROWS state produced no failure in the installer's call path.

Read release notes on GitHub ↗

v0.5.1

0.5.1

Issue #25, filed on a recheck of 0.5.0 by the same outside reader as #19 to #24. Reproduced, then fixed, then handed to Codex as one adversarial read-only round against AUDIT_BRIEF.md, which returned six findings. All six were reproduced by hand and fixed here, and every fix has a harness assertion inside check 89 that goes red when the fix is backed out. The harness is 89 checks now.

Read release notes on GitHub ↗

v0.5.0

0.5.0

A first-run walkthrough of 0.4.3 by an outside reader, filed as issues #19 to #24. Every one was reproduced before its fix, and each has a harness check that fails on 0.4.3 and passes here (checks 84 to 88).

Read release notes on GitHub ↗

v0.4.3

0.4.3

  • author in package.json, so npm shows a byline: aunysillyme (https://github.com/aunysillyme). It needs an allow: entry in the private forbidden list, which is the gate working as designed: attribution is opt-in, one exact string at a time.
  • An npm version badge in the README, matching the other published package.
  • The installer's last line now points at the repository, on the reasoning that the end of a successful install is the moment a user is most likely to act on it.

Read release notes on GitHub ↗

v0.4.2
  • --help/-h and --version/-v on all three entry points, the gate included (#16, #17).
  • A non-terminal stdin with the flags present and no --yes still uses the defaults, and now says so on stderr and in the answers-source line (#18). With flags missing it refuses, as before.

Read release notes on GitHub ↗

v0.4.1
  • On npm. npx agent-personalizer is the install path; 0.4.0 was the first version published (by hand, from the tag). From 0.4.1 every version is published by publish.yml with provenance through npm trusted publishing, so the package page shows where each version was built. npx github:aunysillyme/agent-personalizer still works.
  • The installer's usage text and rerun hint say npx agent-personalizer; the README quick start, privacy line and cache note follow.

Read release notes on GitHub ↗

v0.4.0

Two independent audits of v0.3.0 the same day: agy as code reviewer (91/100; it could not execute commands under its own settings) and Codex as a first-time user running the ten-step walkthrough in a fresh temp directory. Every finding was reproduced before its fix.

Read release notes on GitHub ↗

v0.3.0

Thirteen issues (#3 to #15) filed against 5972b32 by an independent installation-and-behaviour audit, every one reproduced against HEAD before its fix. One fix per issue; the harness grew from 60 to 72 checks, one regression check per issue.

Read release notes on GitHub ↗

Full version history