Skip to main content
Glama

ai-persona

Your coding agent, shaped around how you work. Five states adapt its style to your project and prompts while keeping your task intact. Hooks check tool calls. Memory stores short notes, never transcripts.

How it works

The profile sets your baseline. State hints appear only on changes. A one word override works, and built in modes and permissions stay in control. See agent coverage and hook gaps.

Related MCP server: Unified Memory MCP

Demo

Real output from a live OpenCode run in a Go test project, captured with opencode run.

One word changes the state. A bare careful prompt rewrites the stored state:

{
  "lastState": "careful",
  "settingsKey": "{\"verbosity\":\"balanced\",\"autonomy\":\"ask\",\"caution\":\"high\",\"exploration\":\"balanced\"}"
}

Hints ride along invisibly. The prompt stored in the OpenCode session database keeps your exact text, no persona line appended. The agent still quotes the system note verbatim:

Persona flow: verbosity balanced, autonomy act, caution balanced, exploration balanced. act on the task and keep updates brief. Keep the developer's task unchanged; respect active agent modes, tools, and permissions.

Standing orders block tool calls before they run. After confirming a don't push guard, git push origin main fails before executing:

Error: Blocked by standing order: don't push.

Habits surface as short nudges at the end of file tool results:

Created file successfully: nudge-test.txt
Profile habit (from profile.md): After changing code, run make test before claiming success.

And get_persona stays compact, 137 characters in this run:

Baseline dials: verbosity balanced, autonomy act, caution balanced, exploration balanced. Where we left off: No open problem was recorded.

Install

npx skills add aminammar1/ai-persona

Install all four skills, open your project in the agent, then run persona-init. It scans the project, creates profile.md, shows the setup plan, and asks before installing hooks and MCP.

Contribute

PRs are welcome for a stack template, persona preset, or agent adapter. See CONTRIBUTING.md.

License

MIT © 2026 Mohamed Amine Ammar.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents like Codex, Grok Build, and Antigravity to share persistent local memory, preferences, project context, tasks, and handoffs using Markdown and SQLite.
      1
      MIT
    • A
      license
      B
      quality
      C
      maintenance
      Gives MCP clients a local, single-tenant SQLite-backed store for saving, searching, bootstrapping and recalling memory records, plus saving and loading session handoffs, using text search by default with optional embeddings. It runs over stdio or an authenticated loopback HTTP gateway with explicit-confirmation pruning, scoped policies, and admin-driven backup, restore-copy and restart-drill verification.
      16
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      Enables MCP-capable agents to record, search, update, and export durable project notes from a local SQLite store and coordinate asynchronously through a shared blackboard, all over stdio without cloud infrastructure.
      8
      MIT
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Exposes six tools over stdio that let AI coding assistants add, list, search, synthesize, resolve and delete persistent spec-driven project memory kept as markdown trees in the repository. This gives assistants durable recall of decisions, worklogs, watchpoints and governance laws across sessions without a database or API key.
      161 npm
      MIT