Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Create Report?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/spantail-create-report)
---
name: create-report
description: Create, update, or send a Spantail report from work entries. Use
when the user asks for a weekly/monthly report, a client-facing summary of
logged work, wants to preview report output before saving it, or wants a
report sent to teammates or their own inbox.
---
Compose a Spantail report using the Spantail MCP tools.
## Preflight
Check that the Spantail MCP tools (`preview_report`, `list_report_templates`,
...) are available. If they are not, tell the user how to connect and stop:
- With this plugin: set its `apiToken` (a personal API token,
`spantail_pat_...`) in the plugin config — the bundled MCP server then
connects to `<apiUrl>/mcp` as you.
- Outside the plugin: `claude mcp add spantail -- spantail mcp` (stdio; needs
the CLI, logged in via `spantail auth login`), or add `https://<instance>/mcp`
as an HTTP MCP server with a personal API token as the Bearer credential.
## Creating a report
1. Pick the template: `list_report_templates`, choose the one matching the
user's ask (weekly, monthly, ...). If several fit, ask.
2. Fix the scope: workspace (`list_workspaces`), optional projects
(`list_projects`), and the period — prefer a preset (`this_week`,
`last_month`, ...) over explicit dates when the user speaks in relative
terms.
3. ALWAYS render with `preview_report` first, and QUOTE the rendered
Markdown in your reply — the user cannot see tool results, so a preview
they weren't shown is no preview at all. Quote the body verbatim (for a
long report: the header, the section structure, and the totals, clearly
marked as an excerpt). Only after the preview is visible in your message
may you ask for confirmation, and only call `create_report` once they
confirm. A report is a saved, versioned document — don't create one the
user hasn't seen.
4. Report the saved report's name and id. If the user asked to send it (or
the request implies delivery), continue with "Sending a report".
## Updating a report
Find it with `list_reports` / `get_report`, then `update_report` with only
the changed fields. Each update renders a new version; preview first when the
scope or period changes.
## Sending a report
Sending drops the report's current version into each recipient's inbox (and,
with `sendToSelf`, the user's own). It is visible to other people and cannot be
recalled, so:
1. Resolve recipients with `list_report_recipients` — match the names the
user gave against it; ask when a name is ambiguous or missing (people
outside the report's workspaces cannot receive it). "Me" / "myself" means
`sendToSelf: true`, not a recipient id.
2. State who will receive which report (and the message, if any), and call
`send_report` only after the user confirms — unless the original request
already named the recipients explicitly.
3. Send after the final `update_report`: the delivered copy is the version
current at send time, and later updates do not change it.
4. Report how many teammates it reached (`delivered`; the self-copy is not
counted). `list_report_sends` shows the send history if asked.
## Privacy
The rendered report and its note can be shared via public links and sent to
other people. Never put secrets or private personal data in report names or
notes.