-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
58 lines (41 loc) · 1.69 KB
/
Copy pathllms.txt
File metadata and controls
58 lines (41 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# AIScribe
AIScribe is a CLI tool that journals AI coding sessions into structured, searchable logs, with optional auto-backup to a private GitHub repo. It works with any AI coding tool (pi, Claude Code, Cursor, Codex, etc.) by reading git diffs and AI tool history files.
## Quick Start
```bash
npm install -g aiscribe
```
## Before a Coding Session
```bash
# Get project context before starting work
aiscribe context --format plain --last 5
```
## After a Coding Session
```bash
# Capture the session
aiscribe log -c
# Or watch for automatic capture
aiscribe watch
```
## Key Commands
| Command | Description |
|---------|-------------|
| `aiscribe log -c` | Record current session (git diff + AI prompts) |
| `aiscribe context --format plain` | Get recent session history for AI context window |
| `aiscribe search "query"` | Find past sessions by meaning |
| `aiscribe sync` | Push local sessions to server/DB |
| `aiscribe remote set <url>` | Auto-push sessions to private GitHub repo |
| `aiscribe status` | Check active AI sessions |
## For AI Agents
When you are an AI agent working on this project:
1. **Start**: Run `aiscribe context --format plain` to understand what was recently done
2. **Work**: Write code as normal
3. **End**: The user runs `aiscribe log -c` to capture what you did
## Configuration
- Config file: `~/.aiscribe/config.json` (provider, API key, remote URL)
- Session storage: `.aiscribe/sessions/` (markdown files)
- Git backup: `~/.aiscribe/remote/` (clone of private backup repo)
- Index: `.aiscribe/index.json`
## More Info
- GitHub: https://github.com/aiagentflow/aiscribe
- Docs: https://github.com/aiagentflow/aiscribe/tree/main/docs
- npm: https://www.npmjs.com/package/aiscribe