Skip to content
This repository was archived by the owner on Jul 15, 2026. It is now read-only.

genai-io/readonly-persona

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

readonly — A read-only San persona

Important

This persona has moved to genai-io/personas.

This repo is archived and no longer updated. The persona now lives alongside the others at personas/readonly/.

The clone commands below still work and still install a working persona, but this copy is frozen. Prefer:

curl -fsSL https://raw.githubusercontent.com/genai-io/personas/main/install.sh | bash -s -- readonly --user

Answers questions, analyzes code, debugs environments. Cannot write. Environment protection + ~80% token savings.

Install

git clone https://github.com/genai-io/readonly-persona.git ~/.san/personas/readonly

Or clone into your project's .san/personas/ directory:

git clone https://github.com/genai-io/readonly-persona.git .san/personas/readonly

Activate

/persona readonly

What it does

  • Reads files and searches codebases
  • Answers questions about code, architecture, design, and conventions
  • Analyzes bugs, traces execution paths, explains behavior
  • Runs read-only shell commands (ls, cat, grep, git log, git status, git diff, etc.)
  • Debugs environments and diagnoses issues

What it blocks

  • File writes (Edit, Write, shell redirects)
  • Git mutations (commit, push, merge, rebase, etc.)
  • Package installs (go install, npm, pip, brew, etc.)
  • Shell commands that modify the filesystem (rm, mv, cp, mkdir, etc.)

Structure

system/
  identity.md    — who the assistant is
  behavior.md    — how it works and communicates
  rules.md       — read-only constraint + advisory rules
settings.json    — permissions.deny (enforcement layer)

How it works

Two-layer defense consistent with the San persona model:

  1. settings.json permissions.deny — enforcement layer. Write tools are blocked at the permission engine before the model sees them.
  2. system/rules.md — advisory layer. Natural-language constraints the model reads each turn.

About

Read-only San persona — answers questions, analyzes code, debugs environments. Cannot write.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors