Configuration
Config is stored at~/.workscribe/config.json with owner-only permissions (0600).
Use workscribe config set <key> <value> to update any value. Nested keys use dot notation.
Session
Git
workscribe summary. workscribe context finds the repo under either form, matching the other form only for activity inside the repo’s own folder, so a same-named repo from another owner never shows up.
Capture
The default ignore list:
cd, ls, ll, la, ls -la, ls -l, ls -a, pwd, clear, exit, history, man.
Redact
Workscribe automatically redacts common secret patterns (tokens, API keys, passwords, JWTs). Use
redact.extra to add custom patterns.
Summary
Summaries come from Workscribe’s offline template engine. Each session is told branch by branch from your captured activity (notes, commits, test and build results, dependencies, releases, pushes and branch moves), with nothing cut, and the week tells each branch the same way, up to 6 bullets each. There’s no engine to choose: for AI-written summaries, use the agent skill. See Summaries.
Removed in 2.0: theSessions outside any git repo are named after the directory most of their commands ran in (home-relative, e.g.ai.*keys (ai.provider,ai.apiKey,ai.model,ai.baseUrl) andsummary.engine.workscribe config setrefuses them, andworkscribe initoffers to delete them from an old config. See Migrating to 2.0.
~/Downloads/scripts), or its projects display name if you set one.
In json mode, workscribe summary outputs structured data instead of markdown:
bullets holds every line of its summary under its heading, the On <branch>: lines and the closing activity line included, and branch is the latest branch it was on. durationMinutes is its span from first to last event; activeMinutes is its own active time and alongside names the other projects worked in the same stretch. The top-level activeMinutes is the day’s time worked, counted once across projects. For a structured view of each session (commits, events, every branch), use workscribe sessions --json.
The week (summary --week, week) prints one document too — its projects, each with its branches, the days each was worked on, its bullets (up to 6), how many more there were and its activity line:
branch is null for work on no branch, and activity is null when there’s nothing to say about how. activity is display text, not a stable format: it now names the agents and counts sessions, where it used to count commands. With --by day it’s { "weekStart", "weekEnd", "by": "day", "days": [{ "date", "bullets" }] }. --slack and --webhook still post the text, and their status lines go to stderr so the JSON can be piped.
Skill
Telemetry
Tickets
workscribe config set: that also re-links your history the next time a command reads your data (or right away with workscribe upgrade). A pattern edited by hand in config.json applies to new activity only. Workscribe refuses a pattern that isn’t a valid regular expression, matches empty text, or repeats a group that itself repeats or has alternatives (like (A+)+ or (A|AA)+), because that can hang on a near miss. The check is cautious, so it also refuses some safe patterns such as (?:-[A-Z]+)*; write those without the repeated group. An unusable pattern in config.json falls back to the default.
Projects
Override the display name for a repository whose local folder name differs from the actual project name.- Config override (this setting)
git remote get-url origin— extracts repo name from the remote URLpackage.jsonnamefield (strips@scope/prefix)- Folder name (fallback)
Integrations
workscribe config and workscribe config get output — showing only the first four characters and total length. This confirms a value is set without exposing it in terminal history.
Getting a Slack Incoming Webhook URL
Incoming Webhooks are available on all Slack plans, including the free tier. You need to be a workspace member — no admin role required to create an app and install it to a channel you have access to.- Go to api.slack.com/apps and click Create New App
- Select From scratch, name your app (e.g. “Workscribe”), and choose your workspace
- In the left sidebar under Features, click Incoming Webhooks
- Toggle Activate Incoming Webhooks to On
- Click Add New Webhook to Workspace
- Select the channel or DM where summaries should be posted, then click Allow
- Copy the webhook URL — it starts with
https://hooks.slack.com/services/
Security note: The webhook URL is the only credential — anyone with it can post to your channel. Workscribe automatically redacts it from captured commands so it never appears in your event log.
User-defined AI tool registry
Workscribe ships with built-in support for Claude Code, Aider, Gemini, GitHub Copilot, and other common AI coding tools. You can extend or override this list by creating~/.workscribe/ai-tools.json.
Format:
Override a built-in: add an entry with the same
tool slug — it replaces the built-in entry entirely.
Invalid regex: entries with an invalid pattern are silently skipped. Enable WORKSCRIBE_DEBUG=1 to see which entries were skipped.
Malformed file: if the file is not valid JSON or not an array, Workscribe falls back to built-ins silently.