Perintah
Halaman ini hanya berisi perintah yang dijalankan langsung oleh pengguna. Untuk penyiapan pertama, mulai dari Instalasi.
Tugas umum
Section titled “Tugas umum”- Penyiapan pertama:
agent-note init - Menghapus Agent Note dari repository:
agent-note deinit - Memeriksa status:
agent-note status - Melihat aktivitas terbaru:
agent-note log - Menampilkan data commit:
agent-note show - Memahami mengapa satu baris berubah:
agent-note why
agent-note init
Section titled “agent-note init”Menyiapkan Agent Note di repository.
npx agent-note init --agent claude| Flag | Deskripsi |
|---|---|
--agent <name...> | Pilih satu atau beberapa adapter agent: claude, codex, cursor or gemini |
--dashboard | Juga buat workflow Dashboard bersama |
--no-hooks | Lewati konfigurasi hooks agent |
--no-git-hooks | Lewati instalasi Git Hooks |
--no-action | Lewati pembuatan workflow |
--no-notes | Lewati konfigurasi notes auto-fetch |
--hooks | Hanya instal hooks agent |
--action | Hanya buat workflow |
agent-note deinit
Section titled “agent-note deinit”Menghapus hooks dan config Agent Note untuk satu atau beberapa agent.
npx agent-note deinit --agent claude| Flag | Deskripsi |
|---|---|
--agent <name...> | claude, codex, cursor or gemini |
--remove-workflow | Juga menghapus workflow PR Report dan Dashboard |
--keep-notes | Mempertahankan konfigurasi notes auto-fetch |
agent-note status
Section titled “agent-note status”Menampilkan status pelacakan.
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
Section titled “agent-note log”Menampilkan commit terbaru dengan 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
Section titled “agent-note show”Menampilkan AI Session untuk 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
Section titled “agent-note why”Menampilkan konteks Agent Note di balik baris yang berubah.
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
Section titled “AI Agent Skill”Pasang Agent Note Skill untuk meminta tugas ini dengan bahasa natural.
gh skill install wasabeef/AgentNote agent-note --agent codex --scope userUntuk gh skill install, pilih identifier agent yang sesuai: codex, claude-code, cursor or gemini-cli.