Comandos
Esta página muestra los comandos que los usuarios ejecutan directamente. Para el primer setup, empieza por Instalación.
Tareas comunes
Sección titulada «Tareas comunes»- Primer setup:
agent-note init - Quitar Agent Note del repositorio:
agent-note deinit - Verificar el estado:
agent-note status - Revisar actividad reciente:
agent-note log - Mostrar los datos de un commit:
agent-note show - Entender por qué cambió una línea:
agent-note why
agent-note init
Sección titulada «agent-note init»Configura Agent Note en el repositorio.
npx agent-note init --agent claude| Flag | Descripción |
|---|---|
--agent <name...> | Elige uno o más adaptadores de agente: claude, codex, cursor or gemini |
--dashboard | También crea el workflow del Dashboard compartido |
--no-hooks | Omite la configuración de hooks del agente |
--no-git-hooks | Omite la instalación de Git Hooks |
--no-action | Omite la creación de workflows |
--no-notes | Omite la configuración de notes auto-fetch |
--hooks | Solo instala hooks del agente |
--action | Solo crea workflows |
agent-note deinit
Sección titulada «agent-note deinit»Elimina hooks y configuración de Agent Note para uno o más agentes.
npx agent-note deinit --agent claude| Flag | Descripción |
|---|---|
--agent <name...> | claude, codex, cursor or gemini |
--remove-workflow | También elimina los workflows de PR Report y Dashboard |
--keep-notes | Conserva la configuración de notes auto-fetch |
agent-note status
Sección titulada «agent-note status»Muestra el estado de seguimiento.
npx agent-note statusagent-note v1.x.x
agent: active (cursor)capture: cursor(prompt, response, edits, shell)git: active (prepare-commit-msg, post-commit, pre-push)commit: tracked via git hookssession: a1b2c3d4…agent: cursorlinked: 3/20 recent commitsagent-note log
Sección titulada «agent-note log»Lista commits recientes con AI Ratio.
npx agent-note lognpx agent-note log 20ce941f7 feat: add auth [a1b2c3d4… | 🤖60% | 2p]326a568 test: add tests [a1b2c3d4… | 🤖100% | 1p]ba091be fix: update depsagent-note show
Sección titulada «agent-note show»Muestra la sesión AI de un commit.
npx agent-note shownpx agent-note show abc1234commit: ce941f7 feat: add JWT auth middlewaresession: a1b2c3d4-5678-4abc-8def-111122223333
ai: 60% (45/75 lines) [█████░░░]model: claude-sonnet-4-20250514agent: claudefiles: 3 changed, 2 by AI
src/middleware/auth.ts 🤖 src/types/token.ts 🤖 CHANGELOG.md 👤
prompts: 2
1. Implement JWT auth middleware with refresh token rotation 2. Add tests for expired token and invalid signatureagent-note why
Sección titulada «agent-note why»Muestra el contexto de Agent Note detrás de una línea modificada.
npx agent-note why src/middleware/auth.ts:42npx agent-note why src/middleware/auth.ts:42-55npx agent-note why src/middleware/auth.ts:42:7npx agent-note why src/middleware/auth.ts#L42npx agent-note why src/middleware/auth.ts#L42-L55npx agent-note why src/middleware/auth.ts#L42C7npx agent-note why @src/middleware/auth.ts#L42npx agent-note why https://github.com/owner/repo/blob/main/src/middleware/auth.ts#L42npx agent-note why file:///workspace/repo/src/middleware/auth.ts#L42npx agent-note why vscode://file/workspace/repo/src/middleware/auth.ts:42:7AI Agent Skill
Sección titulada «AI Agent Skill»Instala el Skill de Agent Note para pedir estas tareas en lenguaje natural.
gh skill install wasabeef/AgentNote agent-note --agent codex --scope userPara gh skill install, elige el identificador de agente adecuado: codex, claude-code, cursor or gemini-cli.