# Superself > Úsalo cuando un proyecto guarda su estado en Superself: lee `self context` al iniciar sesión, vincula el trabajo a una work unit, reporta con evidencia y registra decisiones confirmadas. Fuente: https://skillsagentes.com/skills/wshobson/agents/superself Markdown: https://skillsagentes.com/skills/wshobson/agents/superself.md Repositorio: https://github.com/wshobson/agents Autor: wshobson Licencia: MIT Actualizado: hace 5 días Coste de contexto: 86 tok instalada, 1.3k tok al activarse, 1.3k tok con todos los archivos del bundle Bundle: 1 archivo, 5 KB Permisos que pide: ninguno declarado ## Instalación Un skill son archivos markdown: los mismos archivos valen para cualquier agente y lo único que cambia es el directorio de destino, es decir la bandera `--agent`. Añade `-g` para instalarlo en todos los proyectos de la máquina. ```bash # Claude Code npx -y skills add wshobson/agents --skill superself --agent claude-code # Cursor npx -y skills add wshobson/agents --skill superself --agent cursor # Codex npx -y skills add wshobson/agents --skill superself --agent codex # Gemini CLI npx -y skills add wshobson/agents --skill superself --agent gemini # Windsurf npx -y skills add wshobson/agents --skill superself --agent windsurf # Cline npx -y skills add wshobson/agents --skill superself --agent cline ``` ## Qué hace - Lee `self context` al iniciar sesión para conocer el estado del proyecto (objetivo, decisiones, trabajo abierto, informes) - Vincula el trabajo sustantivo a una work unit con `self work add` y `self work start` - Registra el progreso con `self report` y decisiones confirmadas con `self decide` - Cierra unidades de trabajo con `self work done` solo cuando hay evidencia verificable - Bloquea, retira o propone unidades de trabajo según corresponda con `self work block/retire/propose` ## Cuándo usarla - El AGENTS.md o CLAUDE.md del proyecto contiene un bloque entre `` - `self setup` resuelve el directorio a un workspace, project y store registrados ## Cuándo no - `self --version` falla: el proyecto no usa Superself y no debe inventarse nada de esto a mano ## Qué la activa - "Retoma el trabajo pendiente del proyecto usando Superself" - "Registra que el usuario confirmó esta decisión con self decide" - "Cierra la work unit actual con el informe de lo que se verificó" - "Configura Superself en este directorio con self setup" ## Antes de instalar - Requiere el CLI Superself instalado (`npm install -g superself@0.6.1`) con Node 22.12+, y que el proyecto tenga un bloque superself o esté registrado vía `self setup`. ## Archivos - SKILL.md — 5 KB ## SKILL.md Reproducido tal cual desde wshobson/agents bajo MIT. Esta sección es el documento original y está en inglés. # Superself Superself is an Apache-2.0 CLI (`npm install -g superself@0.6.1`, Node 22.12+) that version-controls a project's state — goals, decisions, work units, reports — as an append-only event log in a git repository separate from the code. The state is derived on demand, so nothing in it is hand-maintained. This skill tells an agent how to read and write that state through the `self` CLI. It is maintained by the Superself authors: https://github.com/fxylabs/superself ## When this skill applies - The project's `AGENTS.md` or `CLAUDE.md` contains a block between ``, or `self setup` prints the workspace, project, and store this directory resolves to. - Skip the skill when `self --version` fails: the project does not use Superself, and nothing below should be invented by hand. This skill is written against `superself@0.6.1`; a different major or minor version may have moved a verb or flag, so check `self --help` before relying on one. ## Session start 1. Run `self context` and treat its output as current truth: the goal, active decisions and conventions, open work, recent reports. It is folded from the log, never written by hand. 2. Something missing from context was placed out of the rendered set on purpose; `self search ` finds live records context left out, and `self work show ` prints one unit's full brief and report history. ## While working - Substantive work attaches to a work unit. Create one with `self work add ""` — the outcome is what must become true, not the task — then `self work start `. `start` reads the brief and records that this session picked the unit up; if another session holds it, the CLI says who and since when and does not refuse. Judge and proceed. - After committing, report progress: `self report ""`. The current HEAD commit is attached as evidence automatically; `--evidence ` attaches something else, `--file ` attaches a longer brief. - Record a decision the user confirmed: `self decide "" --why ""`. Use `--proposed` when the user has not confirmed it. One decision per event. - Blocked? `self work block --on decision|dependency|external --why "..."`. Superseded or moved? `self work retire --why "..." [--successor ]`. Never mark such a unit done, and never leave it falsely blocked. - Found a gap between an objective and the current state? Propose the work with `self work propose` and its brief; the user accepts or declines it. - The user approved a next step or a continuation? Register it at once with `self work add` and the context behind it. A plan that lives only in the conversation is lost when the conversation ends. ## Closing - `self work done ` closes a unit only when a report carries a commit or an artifact, or the done itself states what verifiably happened: `self work done --report ""`. A bare claim is refused, and declared criteria gate it until each is covered. - A record's text is immutable once confirmed. Correct it by restating: `--supersedes ` on any add verb records the new wording and keeps the lineage. `retract` withdraws a record with nothing replacing it. ## Rules that keep the state trustworthy - Records — events, decisions, reports, conventions — are written in English so whoever opens them next can read them; answer the person in their own language. - A branch reaches main through a pull request: PR review and CI own merge control. Superself owns context and the work graph, not the merge gate. - Never hand-edit generated state files or anything under `.superself/`. - In a project without a superself block, run `self setup` first. If it resolves the directory to a registered project, ask the user once whether to run `self connect`, which writes the managed block into `AGENTS.md` or `CLAUDE.md`. If it resolves no project, ask once whether to register it with `self project init`. Never register or connect a project on your own. ## Going deeper `self --help` lists every verb; `self --help` prints one command's flags without touching state. Topic guides ship with the CLI: - `self help agents` — how a session drives this CLI, start to finish - `self help context` — what `self context` renders, and why something is missing from it - `self help records` — one entity behind every record kind, and how a record is corrected - `self help placement` — scope, priority and exposure — how a record earns its place in context - `self help work` — the work graph: outcomes, evidence, criteria, and proposals - `self help goals` — long-term goals, objectives, milestones, and what reaching one takes - `self help workspace` — the store, the projects in it, and moving it between machines ## Dónde encaja - Categoría: [Productividad](https://skillsagentes.com/categorias/productividad.md) — Planificación, toma de notas y automatización de flujos personales. - Creador: [wshobson](https://skillsagentes.com/creators/wshobson.md) — 180 skills en el directorio - [Todas las skills](https://skillsagentes.com/skills.md) - [Ranking de instalaciones](https://skillsagentes.com/ranking.md) ## Otras skills del mismo repositorio - [Hermes Tweet](https://skillsagentes.com/skills/wshobson/agents/hermes-tweet.md): Instala y opera Hermes Tweet, un plugin de Hermes Agent para investigar X/Twitter, leer timelines, analizar tweets y ejecutar operaciones privadas o de cambio de estado con aprobación previa. - [Grounded Vault](https://skillsagentes.com/skills/wshobson/agents/grounded-vault.md): Úsalo para mantener un almacén Markdown de conocimiento donde cada afirmación compilada se rastrea hasta una fuente inmutable y el drift se detecta con git diff sin gastar tokens. - [Postgresql Table Design](https://skillsagentes.com/skills/wshobson/agents/postgresql-table-design.md): Úsalo al diseñar o revisar un esquema específico de PostgreSQL: buenas prácticas, tipos de datos, indexación, restricciones, patrones de rendimiento y funciones avanzadas. - [Prompt Engineering Patterns](https://skillsagentes.com/skills/wshobson/agents/prompt-engineering-patterns.md): Úsalo cuando pidan optimizar un prompt, mejorar su rendimiento, diseñar una plantilla, aplicar chain-of-thought, few-shot prompting o técnicas avanzadas de prompt engineering para producción. - [Avoid Ai Writing](https://skillsagentes.com/skills/wshobson/agents/avoid-ai-writing.md): Audita y reescribe prosa para que deje de sonar generada por máquina. Incluye modo solo-detección, modo reescritura y modo edición en el lugar, con perfiles opcionales de voz y contexto.” --- Skills Agentes · [Índice de páginas en markdown](https://skillsagentes.com/sitemap.md) · [Inicio](https://skillsagentes.com/index.md)