| name | akiflow-cli |
| description | Manage Akiflow tasks from CLI. Use when creating, listing, completing tasks, managing projects, or viewing calendar/time blocks. Credential extraction from browser—no API keys needed. |
| metadata | {"openclaw":{"emoji":"📋","requires":{"bins":["af"]}}} |
Akiflow CLI
Manage Akiflow tasks directly from the command line.
Why use this?
| Feature | Web App | Akiflow CLI |
|---|
| Speed | Browser-based | Instant from terminal |
| OAuth setup | N/A | Not needed |
| API keys | N/A | Not needed |
| Credential source | Manual login | Browser token extraction |
Use this when you want fast task management without leaving your terminal.
Setup
바이너리 설치됨: /opt/homebrew/bin/af (또는 which af)
최초 인증:
af auth
af auth status
Credentials 저장 위치: ~/.config/af/credentials.json
토큰 만료 대처 (중요!)
자동 갱신
- CLI가 refresh token으로 자동 갱신 시도
- 대부분의 경우 사용자 개입 없이 작동
수동 재인증이 필요한 경우
증상:
AuthError: No credentials found 에러
401 Unauthorized 응답
- API 호출 실패
대처 순서:
-
먼저 Chrome에서 Akiflow 로그인 확인
-
토큰 재추출
af auth
-
인증 상태 확인
af auth status
-
여전히 실패 시
- Chrome 완전히 종료 후 재시작
- Akiflow 웹에서 로그아웃 → 재로그인
af auth 다시 실행
에러별 대처
| 에러 | 원인 | 해결 |
|---|
No credentials found | 토큰 없음 | af auth 실행 |
Token expired | 만료됨 | Chrome에서 Akiflow 접속 후 af auth |
401 Unauthorized | 토큰 무효 | 위와 동일 |
Network error | 네트워크 | 인터넷 연결 확인 |
Authentication
af auth
af auth status
Task Commands
List Tasks
af ls
af ls --inbox
af ls --project "Work"
af ls --all
Add Tasks
af add "Task title"
af add "Task title" -t
af add "Task title" -d "tomorrow"
af add "Task title" -d "next friday 10am"
af add "Task title" --duration "2h"
af add "Task title" --project "Work"
Complete Tasks
af do 1
af do "full-uuid-here"
Edit Tasks
af task edit 1 --title "New title"
af task move 1 --project "Personal"
af task plan 1 -d "tomorrow"
af task snooze 1 --duration "2h"
af task delete 1
Project Commands
af project ls
af project create "Project Name"
af project delete "Project Name"
Calendar & Time Blocking
af cal
af cal --free
af cal -d "tomorrow"
af block 1h "Focus time"
af block 2h "Meeting prep" --start "14:00"
Short ID System
Running af ls saves task context to ~/.cache/af/last-list.json. This enables short IDs:
af ls
af do 1
af task edit 2 --title "Updated"
Full UUIDs always work as fallback.
Common Workflows
Morning Task Review
af ls
af ls --inbox
af task plan 3 -d "today"
Quick Task Capture
af add "Review PR #123" -t
af add "Follow up with client" -d "monday"
End of Day
af ls
af task snooze 2 --duration "1d"
af do 1
Time Blocking
af cal --free
af block 2h "Deep work" --start "09:00"
af block 1h "Email" --start "14:00"
Project Management
af project ls
af ls --project "Work"
af add "New feature" --project "Work" -d "friday"
Natural Language Dates
Supported formats:
today, tomorrow, yesterday
monday, tuesday, ... (next occurrence)
next week, next month
in 2 hours, in 3 days
march 15, 2026-03-15
friday 10am, tomorrow 14:00
Output Format
All commands output human-readable format by default.
Troubleshooting
Token Expired
af auth
af auth status
Short IDs Not Working
af ls
af do 1