sevdesk-agent-cli
Original:🇺🇸 English
Translated
Sevdesk: Rechnungen/Angebote/Kontakte via read-first CLI (guarded writes) + context snapshots for agent handoffs.
18installs
Added on
NPX Install
npx skill4agent add codecell-germany/sevdesk-agent-skill sevdesk-agent-cliTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →sevdesk-agent-cli
When to use
Use this skill when tasks involve sevdesk API access from this workspace, especially when an agent must:
- inspect business/accounting state via read-only endpoints,
- execute write endpoints with explicit guard confirmations,
- produce a context snapshot for later agent runs.
Preconditions
- CLI is runnable, either:
- from a checkout of this repo: (then run
npm install && npm run build), orsevdesk-agent ... - via npx (no local build, run from outside this repo folder):
npx -y -p @codecell-germany/sevdesk-agent-skill sevdesk-agent --help
- from a checkout of this repo:
- API token is available in env:
SEVDESK_API_TOKEN=<token>
- Optional env:
- (default
SEVDESK_BASE_URL)https://my.sevdesk.de/api/v1 SEVDESK_USER_AGENT- (required for write execution)
SEVDESK_ALLOW_WRITE=true
Core workflow
- Discover operation ids:
sevdesk-agent ops list --read-onlysevdesk-agent op-show <operationId>sevdesk-agent ops-quirks
- Run read calls first:
sevdesk-agent read <operationId> --query key=value- by default, read responses are normalized for known live API quirks
- Shell quoting: params like should be quoted:
contact[id]--query 'contact[id]=123' - Invoice date filters (observed): in our tests, works with
getInvoices/startDateas Unix timestamps (seconds). ISO dates likeendDatemay return empty results. Example:2026-01-01sevdesk-agent read getInvoices --query startDate=1767225600 --query endDate=1769903999 --output json - Generate a full read-op reference doc:
sevdesk-agent docs read-ops --output knowledge/READ_OPERATIONS.md
- For write calls, only with explicit confirmation:
sevdesk-agent write <operationId> --execute --confirm-execute yes --allow-write ...
- Persist agent handoff context:
- stdout (default):
sevdesk-agent context snapshot - optional file export:
sevdesk-agent context snapshot --output .context/sevdesk-context-snapshot.json
- stdout (default):
Guardrails
- Default behavior is safe: non-GET calls are blocked unless all write guards are set.
- In production workflows, prefer read-only tests and read-only probes first.
- For endpoints, responses are typically JSON wrapped in
*GetPdf(often containingdata.objects,filename, and base64mimetype). The CLI does not automatically write files to disk.content - If the server returns a non-JSON binary content-type (pdf/xml/zip/csv), the CLI prints metadata (,
binary,bytes) instead of raw bytes.contentType - Runtime-required query quirks are enforced for selected operations (e.g. requires
contactCustomerNumberAvailabilityCheckat runtime).customerNumber - Use or
op-showto see operation-specific runtime quirks.ops-quirks
References
- Command cheat sheet:
references/command-cheatsheet.md