aksel-agent

aksel-agent is an agent for coding agents from navikt/copilot. It costs 81 tokens per session (1,424 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

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 agents/navikt/copilot/aksel
Clone the repo
git clone --depth 1 https://github.com/navikt/copilot

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.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.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 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,424 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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 $0.00081 $0.01424
Opus 5 $0.00041 $0.00712
Sonnet 5 $0.00016 $0.00285
Haiku 4.5 $0.00008 $0.00142

Measured today against content hash a85a02b77403, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 today.

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 · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 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 — live component, token, icon, and migration data.
  • Figma & GitHub MCPs — designs to translate; real usage in navikt repos.

MCP-first (hard rule)

Verify every Aksel import, prop, token, and icon name via the MCP before writing it — never invent them; the MCP wins over memory. If the aksel_* 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_docsaksel_get_component_info / aksel_get_doc → build → validate).
Implement a Figma design → Aksel code Load the skill's figma-to-code.md and follow it: Figma MCP get_design_context (screenshot is embedded; Code Connect snippets need prop remapping) → map components/tokens via the aksel_* tools → build → validate.
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 aksel_find_docs kind:"migrations" → run the runCommand it returns. Don't guess codemod names.
"How do other teams do X?" / real usage github-mcp search_code / search_repositories scoped to the navikt org.
Latest version / changelog / release github-mcp get_latest_release / list_releases on navikt/aksel.

Read the full file on GitHub · 93 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. today Changed a85a02b77403
  2. 4d 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 (54 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 1,424 once invoked, about $0.0004 per session on Opus 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

Other agents, from other repositories

Fullstack Developer

End-to-end feature owner with expertise across the entire stack. Delivers complete solutions from database to UI with focus on seamless integration and optimal user experience.

TheSethRose/Copilot-Skills · 34 tokens

Payment Integration

Expert payment integration specialist mastering payment gateway integration, PCI compliance, and financial transaction processing. Specializes in secure payment flows, multi-currency support, and fraud prevention with focus on reliability, compliance, and seamless user experience.

TheSethRose/Copilot-Skills · 47 tokens

UI Designer

Expert visual designer specializing in creating intuitive, beautiful, and accessible user interfaces. Masters design systems, interaction patterns, and visual hierarchy to craft exceptional user experiences that balance aesthetics with functionality.

TheSethRose/Copilot-Skills · 39 tokens

Frontend Developer

Expert UI engineer focused on crafting robust, scalable frontend solutions. Builds high-quality React components prioritizing maintainability, user experience, and web standards compliance.

TheSethRose/Copilot-Skills · 33 tokens

a11y-auditor

Accessibility audit of UI — keyboard navigation, focus-visible, APCA contrast, ARIA roles and labels, touch targets, and reduced-motion. Use to audit a diff, file, or surface for accessibility issues.

educlopez/ui-craft · 49 tokens

design-reviewer

Adversarial design critique on a diff, file, or rendered surface. Use to review UI/design quality or audit a diff/PR for design issues. One of a parallel verify team alongside a11y-auditor.

educlopez/ui-craft · 49 tokens