Zum Inhalt springen

Befehle

Diese Seite zeigt die Befehle, die Nutzer direkt ausführen. Für das erste Setup beginnen Sie mit Installation.

  • Erstes Setup: agent-note init
  • Agent Note aus dem Repository entfernen: agent-note deinit
  • Status prüfen: agent-note status
  • Neue Aktivität prüfen: agent-note log
  • Commit-Daten anzeigen: agent-note show
  • Verstehen, warum eine Zeile geändert wurde: agent-note why

Richtet Agent Note im Repository ein.

Terminal-Fenster
npx agent-note init --agent claude
FlagBeschreibung
--agent <name...>Einen oder mehrere Agent Adapter wählen: claude, codex, cursor or gemini
--dashboardZusätzlich den Workflow für das gemeinsame Dashboard erstellen
--no-hooksAgent Hook-Konfiguration überspringen
--no-git-hooksInstallation der Git Hooks überspringen
--no-actionErstellung der Workflows überspringen
--no-notesnotes auto-fetch-Konfiguration überspringen
--hooksNur Agent Hooks installieren
--actionNur Workflows erstellen

Entfernt Agent-Note-Hooks und Konfiguration für einen oder mehrere Agents.

Terminal-Fenster
npx agent-note deinit --agent claude
FlagBeschreibung
--agent <name...>claude, codex, cursor or gemini
--remove-workflowEntfernt auch die PR-Report- und Dashboard-Workflows
--keep-notesBehält die notes auto-fetch-Konfiguration

Zeigt den Tracking-Status.

Terminal-Fenster
npx agent-note status
agent-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 hooks
session: a1b2c3d4…
agent: cursor
linked: 3/20 recent commits

Listet aktuelle Commits mit AI Ratio.

Terminal-Fenster
npx agent-note log
npx agent-note log 20
ce941f7 feat: add auth [a1b2c3d4… | 🤖60% | 2p]
326a568 test: add tests [a1b2c3d4… | 🤖100% | 1p]
ba091be fix: update deps

Zeigt die KI-Session eines Commits.

Terminal-Fenster
npx agent-note show
npx agent-note show abc1234
commit: ce941f7 feat: add JWT auth middleware
session: a1b2c3d4-5678-4abc-8def-111122223333
ai: 60% (45/75 lines) [█████░░░]
model: claude-sonnet-4-20250514
agent: claude
files: 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 signature

Zeigt den Agent-Note-Kontext hinter einer geänderten Zeile.

Terminal-Fenster
npx agent-note why src/middleware/auth.ts:42
npx agent-note why src/middleware/auth.ts:42-55
npx agent-note why src/middleware/auth.ts:42:7
npx agent-note why src/middleware/auth.ts#L42
npx agent-note why src/middleware/auth.ts#L42-L55
npx agent-note why src/middleware/auth.ts#L42C7
npx agent-note why @src/middleware/auth.ts#L42
npx agent-note why https://github.com/owner/repo/blob/main/src/middleware/auth.ts#L42
npx agent-note why file:///workspace/repo/src/middleware/auth.ts#L42
npx agent-note why vscode://file/workspace/repo/src/middleware/auth.ts:42:7

Installieren Sie den Agent Note Skill, um diese Aufgaben in natürlicher Sprache anzustoßen.

Terminal-Fenster
gh skill install wasabeef/AgentNote agent-note --agent codex --scope user

Für gh skill install wählen Sie den passenden Agent-Identifier: codex, claude-code, cursor or gemini-cli.