Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/faberlens/hardened-skillsnpx agentmods add skills/faberlens/hardened-skills/fhir-developer-hardenedWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/faberlens/hardened-skills/fhir-developer-hardened)<a href="https://agentmods.dev/skills/faberlens/hardened-skills/fhir-developer-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/fhir-developer-hardened/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/faberlens/hardened-skills/fhir-developer-hardened"><img src="https://agentmods.dev/badge/skills/faberlens/hardened-skills/fhir-developer-hardened.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00135 | $0.02599 |
| Opus 5 | $0.00068 | $0.01300 |
| Sonnet 5 | $0.00027 | $0.00520 |
| Haiku 4.5 | $0.00014 | $0.00260 |
Grade A, and why
fhir-developer-skill-hardened scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
97% identical to fhir-developer-skill — 9 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 302 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FHIR Developer Skill
Quick Reference
HTTP Status Codes
| Code | When to Use |
|---|---|
200 OK |
Successful read, update, or search |
201 Created |
Successful create (include Location header) |
204 No Content |
Successful delete |
400 Bad Request |
Malformed JSON, wrong resourceType |
401 Unauthorized |
Missing, expired, revoked, or malformed token (RFC 6750) |
403 Forbidden |
Valid token but insufficient scopes |
404 Not Found |
Resource doesn't exist |
412 Precondition Failed |
If-Match ETag mismatch (NOT 400!) |
422 Unprocessable Entity |
Missing required fields, invalid enum values, business rule violations |
Required Fields by Resource (FHIR R4)
| Resource | Required Fields | Everything Else |
|---|---|---|
| Patient | (none) | All optional |
| Observation | status, code |
Optional |
| Encounter | status, class |
Optional (including subject, period) |
| Condition | subject |
Optional (including code, clinicalStatus) |
| MedicationRequest | status, intent, medication[x], subject |
Optional |
| Medication | (none) | All optional |
| Bundle | type |
Optional |
Required vs Optional Fields (CRITICAL)
Only validate fields with cardinality starting with "1" as required.
| Cardinality | Required? |
|---|---|
0..1, 0..* |
NO |
1..1, 1..* |
YES |
Common mistake: Making subject or period required on Encounter. They are 0..1 (optional).
Value Sets (Enum Values)
Invalid enum values must return 422 Unprocessable Entity.
Patient.gender
male | female | other | unknown
Observation.status
registered | preliminary | final | amended | corrected | cancelled | entered-in-error | unknown
Encounter.status
planned | arrived | triaged | in-progress | onleave | finished | cancelled | entered-in-error | unknown
Encounter.class (Common Codes)
| Code | Display | Use |
|---|---|---|
AMB |
ambulatory | Outpatient visits |
IMP |
inpatient encounter | Hospital admissions |
EMER |
emergency | Emergency department |
VR |
virtual | Telehealth |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 302 lines · 135 tokens per session scan A beeff867ce91
fhir-developer-skill-hardened is a skill published in the GitHub repository faberlens/hardened-skills (23 stars, last pushed 4mo ago), licensed MIT. It adds 135 tokens to every session and 2,599 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to fhir-developer-skill, differing in 9 lines, and is treated as a copy.
Other skills, from other repositories
email-api
Manage emails via REST API - send, read, search, delete emails, manage contacts, upload files, and store data. Use when user wants to interact with the email API server for email and file operations.
mcp
This skill MUST be invoked when users want to create, build, or develop MCP (Model Context Protocol) servers. Should be used for any task involving MCP server creation, whether simple calculator tools or complex API integrations. Covers FastMCP (Python) and MCP SDK (Node/TypeScript) implementations, tool design…
fhir-developer-skill
FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth…
hunt-api-misconfig
Hunt API security misconfiguration — mass assignment, prototype pollution, HTTP verb tampering. Mass assignment: send {isadmin:true, role:admin, verified:true} on profile/account/reset endpoints — server blindly applies. JWT signature/crypto forging (alg:none, key confusion, kid/jku) is owned by hunt-jwt-crypto; this…
fhir-developer-skill
FHIR API development guide for building healthcare endpoints. Use when: (1) Creating FHIR REST endpoints (Patient, Observation, Encounter, Condition, MedicationRequest), (2) Validating FHIR resources and returning proper HTTP status codes and error responses, (3) Implementing SMART on FHIR authorization and OAuth…
risk-metrics-calculation
Calculate portfolio risk metrics including VaR, CVaR, Sharpe, Sortino, and drawdown analysis. Use when measuring portfolio risk, implementing risk limits, or building risk monitoring systems.