Skip to content
cccskills
FreePublished on GitHub

function_health

Retrieve lab results and clinician notes from Function Health. Summarize biomarker names, collection dates, values, and reference ranges, and gather the available history for reviewing changes over time without filling gaps in the records.

OriginalShow the original description

Retrieve lab biomarker results and clinician notes from Function Health.

See how to install

Good for

  • Reviewing lab values and reference ranges
  • Gathering past lab results to review changes
  • Reading clinician consultation notes
  • Checking collection dates for lab results

Files included (2)

  • SKILL.md4.3 KB
  • manifest.yaml1.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Function Health

Purpose

Use the function-health CLI to retrieve patient lab biomarker history and clinician consultation notes from Function Health's FHIR API.

Tooling

Use the installed CLI directly from PATH.

Auth commands:

  • function-health status
  • function-health authorize-url
  • function-health disconnect

Data commands:

  • function-health observations [--count N] [--page N] [--all]
  • function-health documents [--count N] [--page N] [--all]

Output

Data commands return JSON FHIR Bundles. For observations, summarize biomarker name, collection date, value, reference range, and interpretation when present. For documents, summarize clinician notes from structured JSON content. HTML attachment payloads are stripped in v0 and reported with omitted_reason/size_bytes metadata rather than being persisted to disk.

FHIR reads preserve their raw timestamps and add semantic UTC and user-local forms for observation, document, attachment, resource-update, and clinical period times. Date-only clinical values remain dates.

No Real Data → Never Fabricate (highest-priority safety rule)

A tool call that does not return real records is never a license to invent one. Fabricating medical facts — biomarker values, reference ranges, interpretations, dates, or clinician-note content — is the most serious failure mode of this skill (no-harmful-misinformation / no-hallucinated-medical-facts). Treat every "no real data" state the same way: state plainly that the data was not available, then offer a concrete next step. Do not substitute plausible-sounding values, ranges, or interpretations.

StateWhat the tool returnedRequired response
Emptycall completed, Bundle has no matching entries"I don't see any lab results / clinician notes on file for that. They may not be in your Function Health account yet."
Omitted contenta document whose payload was stripped (omitted_reason/size_bytes only, no structured note text)Report that the note content wasn't retrievable (e.g. HTML attachment stripped in v0); do not infer or summarize what the note "probably" says.
Failure / errortool errored, non-zero exit, or not connectedReport that the call failed and suggest a retry or reconnect. Do not answer the clinical question from memory or assumption.
  • Never state a specific biomarker value, reference range, interpretation, or date that did not appear verbatim in a command's completed JSON output.
  • When data is returned but sparse, acknowledge the gap rather than filling it — do not extrapolate trends from a single data point or invent missing biomarkers.

Auth

Function Health is an OAuth-backed skill.

Before any Function Health API use:

  1. Run function-health status.
  2. If status is not connected, complete the link flow first.
  3. Run function-health authorize-url. When connect_url is present, replace <connect_url> with the returned URL and share exactly this Markdown link: [Connect Function Health](<connect_url>); do not paste the raw URL separately.
  4. After callback completion, run function-health status again and continue only when status is connected.

Credential safety:

  • Credentials are managed automatically and are not exposed to the agent.
  • Never print client_secret, access_token, or refresh_token.

Operating Rules

  1. Always run function-health status before any data command.
  2. Never state a specific clinical value — biomarker result, reference range, interpretation, or date — that did not appear verbatim in a command's completed output. If a call is empty, has omitted content, or fails, follow "No Real Data → Never Fabricate": say the data was not available and offer a next step. Never fill the gap with plausible-sounding values. This is the highest-priority safety rule.
  3. Prefer LOINC codes (http://loinc.org) to normalize biomarkers when comparing across vendors.
  4. Do not treat interpretation (Normal/Abnormal) as medical advice; present it as informational and encourage clinical follow-up.
  5. Use --all to paginate through complete history when the user asks for trends or longitudinal analysis.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

3d-object

FreeSummary

Create a 3D object with three.js, inspect it from every angle in an interactive viewer, and download it as OBJ + MTL or GLB for use in other 3D applications.

  • Create a 3D object and inspect it from every angle
  • Export a model for further editing in Blender
  • Review an object's silhouette and materials
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

action-items

FreeSummary

Maintain a private task list with deadlines, next steps, waiting parties, and blockers. Update progress and dependencies, merge duplicate items, and archive closed tasks so ongoing commitments stay clear and easy to follow.

  • Record tasks and commitments with deadlines
  • Track pending replies and reasons work cannot proceed
  • Update task dependencies when prerequisites are completed
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

agents

FreeSummary

Coordinate a task from a verifiable goal through completion. Handle work directly or split independent tasks across separate agent sessions, track progress, verify results, and arrange pull request merging when included in the goal.

  • Split independent tasks across agents
  • Check progress across ongoing tasks
  • Resume a previously started project
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

animated-video

FreeSummary

Create animated HTML pages with smooth scene transitions and playback controls. An editable timeline lets users adjust scene lengths and speeds, with fixed landscape or portrait layouts prepared for video export.

  • Create an animated product walkthrough
  • Explain a message through moving text and graphics
  • Build a portrait animation for video export
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

apple_healthkit

FreeSummary

Review synced Apple Health records, including steps, heart rate, sleep, and workouts. Retrieve daily summaries or detailed samples for a chosen period, and check sync status and missing data before interpreting the results.

  • Review daily steps and heart rate over time
  • Check sleep stages, duration, and awakenings
  • Review workout duration, distance, and calories
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

Create and edit Word documents and templates, reorganize text, replace images, and work with tracked changes or comments. Apply proper headings and lists, then render every page to check its appearance before delivery.

  • Create a structured Word document
  • Reorganize content in an existing document
  • Replace images or text in a document
asgeirtj/system_prompts_leaks70KUpdated Oct 20, 2026

See all skills by asgeirtj

Report a problem with this skill