lanamal

lanamal is a skill for Claude Code, Codex from jokull/icelandic-data. It costs 30 tokens per session (1,403 once invoked), scanned A, original, MIT.

A way to retrieve Icelandic government bond market data from Lánamál ríkisins, the government's debt-management service. It covers indexed and non-indexed bond yields, prices, and historical chart data through a JSON web interface.

In plain words
What is it for?
Use it to fetch and process market data for RIKB and RIKS Icelandic government bonds.
Why use it?
It gives programs direct access to bond information that might otherwise need to be read from interactive web pages. Requests need browser-like headers and the response uses UTF-16 text encoding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/jokull/icelandic-data/lanamal
Any agent
npx skills add jokull/icelandic-data --skill lanamal
Clone the repo
git clone --depth 1 https://github.com/jokull/icelandic-data

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for lanamal

README.md
[![agentmods](https://agentmods.dev/badge/skills/jokull/icelandic-data/lanamal.svg)](https://agentmods.dev/skills/jokull/icelandic-data/lanamal)
Your own site
<a href="https://agentmods.dev/skills/jokull/icelandic-data/lanamal"><img src="https://agentmods.dev/badge/skills/jokull/icelandic-data/lanamal.svg" alt="Measured on agentmods" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.01403
Opus 5 $0.00015 $0.00701
Sonnet 5 $0.00006 $0.00281
Haiku 4.5 $0.00003 $0.00140

Measured 6d ago against content hash 8a98d86e839c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

lanamal scanned grade A with 1 finding 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 6d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

uppercased). Requires a browser-like `User-Agent` — a bare `curl` with no
.agents/skills/lanamal/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lánamál ríkisins (Government Debt Management Iceland)

Market data for Icelandic government bonds — yields, prices, chart history. Publishes the RIKB (óverðtryggð, non-indexed) and RIKS (verðtryggð, indexed) series that lanamal.is quotes on its /markadsyfirlit pages.

API

No auth, plain JSON. Discovered by loading a /markadsyfirlit/?type=bond page in a real browser and reading the network log — the page is ASP.NET WebForms with a React island, and the bond detail panel calls:

GET https://www.lanamal.is/api/market/LoadIndexedDetail?orderbookId={ID}&lang=is

{ID} is the orderbook id in the page's own URL query string, e.g. RIKB_28_1115 (case-insensitive upstream, but the response echoes it uppercased). Requires a browser-like User-Agent — a bare curl with no headers gets blocked; a Referer pointing at the matching /markadsyfirlit page plus a normal UA is enough, no cookies/session needed.

Response encoding is UTF-16, not UTF-8 — httpx/requests auto-detect it fine from the BOM, but a raw curl dump looks like garbage without decoding.

curl -s -A "Mozilla/5.0" \
  -H "Referer: https://www.lanamal.is/markadsyfirlit/?type=bond&orderbookid=rikb_31_0124" \
  "https://www.lanamal.is/api/market/LoadIndexedDetail?orderbookId=RIKB_31_0124&lang=is"

Response shape

A one-element JSON array:

[{
  "closingYield": "7,54%", "closingPrice": "94,08",
  "bidYield": "7,55%", "askYield": "7,52%",
  "lastValidYield": "7,54%", "totalValueTraded": "94", "tradeCount": 1,
  "orderbookId": "RIKB_31_0124", "shortName": "RIKB 31 0124",
  "longName": "Óverðtryggð ríkisbréf",
  "attributes": [
    {"name": "ISIN númer", "value": "IS0000031234"},
    {"name": "Innlausnardagur", "value": "24.01.2031"},
    {"name": "Nafnvextir", "value": "5,00"}
  ],
  "chartData": {
    "header": "Ávöxtunarkr. í lok dags",
    "chartData": [["2025-08-18T00:00:00", 7.31], ["2025-08-19T00:00:00", 7.30], ...]
  }
}]

attributes is a flat list of Icelandic-labelled key/value pairs (maturity date, ISIN, coupon, issue size, etc.) — parse by name, not by list position.

Read the full file on GitHub · 107 lines

Changes

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.

  1. 6d ago First seen · 107 lines · 30 tokens per session scan A 8a98d86e839c

Subscribe to this mod's changes

lanamal is a skill published in the GitHub repository jokull/icelandic-data (52 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,403 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.