Prompt library¶
These prompts are written for an agent that can run commands and read files in your data root, such as Claude Code, Codex, or a local agent. Each one works as written. Adapt freely.
Replace anything in <angle brackets>.
Setup¶
Install and set up standalone¶
Install the fitdocs CLI with `uv tool install fitdocs` (fall back to pipx).
Create a data root at <~/fitdocs-data> and export FITDOCS_DATA to it in my
shell profile. Then run `fitdocs sync <folder with my .fit files>` and show
me the summary, and run `fitdocs index` to build the analytics index. Open
one generated workout page and walk me through its sections.
Add fitdocs to my existing wiki¶
Add fitdocs to this wiki following https://fitdocs.ai/guides/wiki-integration:
make this directory the data root with a .fitdocs/data-root pointer file,
create fitdocs.toml with an [inbox] table pointing at <inbox folder>, install
the four packaged skills (fitdocs-workouts, fitdocs-analytics,
fitdocs-dashboards, build-training-block) into your skills directory by
symlink (use `fitdocs skill <name>` to find each one), and add a short
pointer to the fitdocs AGENTS.md files in this wiki's root instructions.
Then run `fitdocs sync --no-prompt`, `fitdocs index`, and `fitdocs check`
and report the results. Don't touch anything outside the folders fitdocs
owns.
Connect intervals.icu¶
Add a [connectors.intervals] table to fitdocs.toml<, with wellness = true>.
Then stop and tell me to run `fitdocs connect intervals` myself, so I can
paste my API key where you can't see it. Don't ask me for the key. Once I
say it's connected, run `fitdocs pull --sync --no-prompt` and summarize
what was delivered, skipped, and written.
Every day¶
Process new workouts¶
With the fitdocs-workouts skill installed, a few words is enough:
Without the skill:
Run `fitdocs pull --sync --no-prompt` (or `fitdocs sync --no-prompt` if no
connector is configured), then `fitdocs check`. Summarize what was written,
and tell me about anything deferred, quarantined, failed, or unrecognized.
Don't retry quarantined files or run `fitdocs regen` unless I ask.
Post-workout debrief into my notes¶
Open today's workout page in workouts/. Ask me three or four short questions
about how it went: effort, how my body felt, conditions, anything unusual.
Then write my answers into the page's Notes section (between the
fitdocs:begin:notes and fitdocs:end:notes markers) as a short recap in my
own words. Change nothing else on the page.
Log a strength session¶
Open today's strength workout page. I'll tell you what I did. Write it into
the Workout section (between the fitdocs:begin:workout / end:workout markers)
as a table of exercise, sets, reps, and weight. Change nothing else.
Write a public post, sharing only what I choose¶
Read <workout page>. Write a short, friendly activity description I could
post publicly: the session, one or two headline numbers, and how it felt
from my notes. Leave out the route, location, start time, and any health
details. Give me the text only. Don't post it anywhere.
Understanding your training¶
Explain one workout¶
Read <workout page> and explain the session to me like a coach would:
how it was structured (use the laps), how heart rate responded to effort
(the Telemetry section), what the load number means and which channel it
came from, and any data-quality warnings. Use only numbers from the page.
Weekly review¶
Use the fitdocs-analytics skill. Query the analytics index for my load by
sport and overall for the last 7 days, and compare it with the weekly
average of the 4 weeks before. List any workout from this week with no load
or with a detected data-quality flag. Then read my Notes on this week's
workout pages and summarize how I seemed to be feeling. Show the SQL you
ran, and keep it to one screen.
Ask a question across years¶
Use the fitdocs-analytics skill. <How has my easy-run pace at the same heart
rate changed over the last two years?> Check the schema first, show me the
SQL you ran, and tell me where missing data could change the answer.
Can I trust my heart-rate data?¶
Go through my runs from the last <30> days. For each one, report the
cadence-lock and divergence warnings from the Training Load section and the
heart-rate coverage from Device & Data Quality. Which sessions look like
wrist-sensor data I shouldn't trust, and is there a pattern (a particular
device, cold weather, short runs)?
Compare two sessions¶
Compare <page A> and <page B>. Line up their laps, pace or power, and heart
rate for the matching parts of each session. Did I get fitter, or were
conditions different? Use my Notes for context and only use numbers from
the pages.
Where am I on the fitness curve?¶
Run `fitdocs history`, then read history/training-load-history.md. Tell me
where my fitness, fatigue, and form stand compared with the weeks before my
last three tagged races. Point out any periods where the curve is blank
because load is missing.
Build a dashboard¶
Use the fitdocs-dashboards skill to make dashboards/<training-overview>.md
with <weekly running distance for the last six months, time in each
heart-rate zone per week, and my resting heart rate over the same period>.
Run `fitdocs dashboard check` until it's clean, then `fitdocs dashboard
refresh`, and tell me what each chart shows.
Wellness and recovery¶
Bring in my sleep and HRV¶
I've put <my Apple Health export.zip / the JSON files from my Garmin data
export> in the inbox. Run `fitdocs sync --no-prompt` and tell me what was
archived, skipped, or unrecognized, and which wellness signals I now have
and from which sources. Then run `fitdocs recovery`.
How am I recovering?¶
Read recovery/recovery.md and the Morning Of blocks on my workout pages from
the last two weeks. Where have my HRV, resting heart rate, and sleep been
against my normal range, and how does that line up with my training load
and what my Notes say? Describe what you see. Don't give me a readiness
score or tell me what to do; I'll decide.
Benchmarks¶
Find and tag my races¶
Search my workout pages from <2023–2025> for likely races: titles, my Notes,
distances close to 5k/10k/half/marathon, and hard even pacing. List the
candidates with date, distance, and time, and ask me to confirm each one and
give the official time. For each confirmed race, add the effort: race,
effort_distance_m, effort_time_s, and effort_event frontmatter keys to that
page, changing nothing else. Then run `fitdocs derive-benchmarks --dry-run`
and explain what would be derived and what was declined.
After a test or race¶
I just did <a 30-minute threshold test / a 10k race> — it's today's
workout page. Tag it with the right effort keys (ask me for the official
time), run `fitdocs derive-benchmarks`, then `fitdocs load` so newer pages
pick up the new benchmark. Tell me what changed in athlete.toml.
Training blocks¶
These use the packaged build-training-block skill. Install it the same way as fitdocs-workouts.
Build a block¶
I want to build a training block. Use the build-training-block skill to
interview me. My goal is <race and target>, on <date>. Once I've answered
everything, write the plan source, run `fitdocs plan`, and show me the
first mesocycle.
Change the plan midstream¶
I'm travelling <dates>. Use the build-training-block skill to add an
amendment to my <block> plan: move <session> to <day> and drop <session>.
Don't edit earlier entries. Then run `fitdocs plan` and confirm the change.
Settle a match¶
Run `fitdocs plan` and look for ambiguous or unresolved sessions in the
report. For each one, show me the planned session and the candidate
workouts, and ask which is right. Record my answer as an override in the
plan source.
Mid-block check-in¶
Read my current block page in blocks/. For each mesocycle so far, compare
actual load against the target, list sessions that are not logged or
skipped, and summarize what my Notes say about fatigue. What should I talk
through before next week? Suggest questions only. The training decisions
are mine.
Maintenance¶
After upgrading fitdocs¶
I just upgraded fitdocs. Run `fitdocs --version` and `fitdocs check`. If
check says pages need regenerating, run `fitdocs regen`, keep its rename
warnings, and check again. Run `fitdocs index` if the index needs a
rebuild. If you installed the skills by copying, refresh them from
`fitdocs skill <name>`, and install any new ones. Summarize what changed
using the release's changelog entry.
Fix links after renamed pages¶
`fitdocs regen` printed rename warnings, from <old name> to <new name>.
Find every link to one of the old names in my own notes, including the
Notes and Workout sections of workout pages, and every override in my plan
files that names one. Show me the list, and after I confirm, update each one
to the new name. Change nothing else.
Health check¶
Run `fitdocs check` and `fitdocs plugins`. Explain any findings or plugin
load errors in plain language and what to do about each.
Have a prompt that works well? Share it in a GitHub issue, and we’ll consider it for this collection.