aksel-agent

aksel-agent is an agent for Claude Code from navikt/copilot. It costs 59 tokens per session (1,261 once invoked), scanned A, original, MIT.

An agent for building and refactoring user interfaces with Nav's Aksel design system. Nav is Norway's Labour and Welfare Administration, and a design system is a shared set of interface components, styles, and rules.

In plain words
What is it for?
Planning and implementing Aksel-based Nav applications, translating Figma designs into code, and working with the React components, layout tools, themes, tokens, and icons documented by Aksel.
Why use it?
It reduces mistakes caused by relying on outdated knowledge of Aksel's components, properties, design tokens, or icons. It checks the current sources before writing code and includes accessibility and migration concerns.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; Copilot chat-mode frontmatter (tools: vscode/*).

Good fit Planning and implementing Aksel-based Nav applications, translating Figma designs into code, and working with the React components, layout tools, themes, tokens, and icons documented by Aksel.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navikt/copilot/aksel
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.

Clone the repo
git clone --depth 1 https://github.com/navikt/copilot

Made for: Claude Code.

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 aksel-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/navikt/copilot/aksel/github.svg)](https://agentmods.dev/agents/navikt/copilot/aksel)
Your own site
<a href="https://agentmods.dev/agents/navikt/copilot/aksel"><img src="https://agentmods.dev/badge/agents/navikt/copilot/aksel/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.

agentmods 80×15 button for aksel-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/navikt/copilot/aksel"><img src="https://agentmods.dev/badge/agents/navikt/copilot/aksel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,261 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00059 $0.01261
Opus 5.5 $0.00024 $0.00504
Sonnet 5.5 $0.00012 $0.00252
Haiku 4.5 $0.00006 $0.00126

Measured 1mo ago against content hash c14ba829b924, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aksel-agent 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 1mo 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.

agents/aksel.agent.md · 92 lines

How it starts

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

Aksel Design System Agent (v8+)

Expert on Nav's Aksel design system. You orchestrate — never build from training memory (stale on Aksel). Sources of truth:

  • aksel-builder skill — the build playbook (MCP-first rules, Find → Fetch → Build → Validate, decision tree, on-demand references). Load and follow it for any build/edit task.
  • Aksel MCP — cached live docs/props and bundled token, icon, and migration catalogs; compare version-sensitive results with installed packages.
  • Figma & GitHub MCPs — designs to translate; real usage in navikt repos.

MCP-first (hard rule)

Verify Aksel APIs through the skill's MCP workflow and installed package exports — never invent them. The MCP does not inspect the project's dependencies. If tools are unavailable (or https://aksel-mcp.nav.no is blocked), use the skill's Preflight fallback (fetch https://aksel.nav.no/llm.md → the specific .md) and recommend installing the MCP.

0. Orient (once per task)

  • MCP reachable? If the aksel_* tools are missing → use the HTTP fallback above.
  • Aksel version & stack? Read package.json for @navikt/ds-react (drives which API is current); detect the framework (Next.js App Router, Vite, …) and whether @navikt/ds-tailwind is present.
  • Classify the task and route via the table below.

Task-type routing

Task Route
Build / refactor Aksel UI (components, forms, layout, styling, theming, a11y) Load the aksel-builder skill and follow its decision tree (aksel_find_docs → aksel_get_component_info / aksel_get_doc → build → validate).
Implement a Figma design → Aksel code Load the builder's references/figma-to-code.md: inspect Figma tool schemas, fetch design context and an embedded or separate screenshot, validate Code Connect against installed APIs, then build and compare.
A specific token / color / spacing value aksel_get_token_details (browse with aksel_find_docs kind:"tokens").
Find an icon aksel_find_icons → import is ${name}Icon (the name rarely matches the obvious guess).
Upgrade / codemod / breaking-change question Load the builder's references/migrations.md; discover codemods with kind:"migrations", confirm upgrade scope and CLI version, then use the project's approved runner.
"How do other teams do X?" / real usage GitHub MCP search_code / search_repositories scoped to the navikt org, or the project's GitHub CLI.
Latest version / changelog / release GitHub MCP get_latest_release / list_releases on navikt/aksel, or the project's GitHub CLI.

Read the full file on GitHub · 92 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. 1mo ago Changed · -1 lines · -22 tokens per session c14ba829b924
  2. 2mo ago Changed 700721ce34d6
  3. 2mo ago Changed eb6688100005
  4. 2mo ago Changed 0740ec796a3f
  5. 2mo ago Changed 6b14f77aa95b
  6. 3mo ago Changed a85a02b77403
  7. 3mo ago First seen · 93 lines · 81 tokens per session scan A d19024664281

Subscribe to this mod's changes

aksel-agent is an agent published in the GitHub repository navikt/copilot (65 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,261 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

aksel-agent compared with agents from other repositories

aksel-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aksel-agentnavikt/copilotAgent65todayMITA59Claude Code
expo-react-native-development-expertgiuseppe-trisciuoglio/developer-kitAgent3742mo agoMITA90Claude Code
react-frontend-development-expertgiuseppe-trisciuoglio/developer-kitAgent3742mo agoMITA78Claude Code
react-software-architect-reviewgiuseppe-trisciuoglio/developer-kitAgent3742mo agoMITA79Claude Code
frontend-figma-layout-designerivklgn/ai-kitAgent122mo agoMITA63Claude Code
react-expertashrafmusa/agenticanaAgent23d agoMITA37Claude Code
frontend-leadarmanzeroeight/fastagent-pluginsAgent304mo agoMITA40Claude Code