A skill your agent uses when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries, coupling trends, and complexity…

Custom licenceAuto-check passed

Install Fitness Functions

skills CLI
$ npx skills add Habitat-Thinking/ai-literacy-superpowers --skill fitness-functions -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Habitat-Thinking/ai-literacy-superpowers fitness-functions --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Habitat-Thinking/ai-literacy-superpowers.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ai-literacy-superpowers/skills/fitness-functions .claude/skills/fitness-functions && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fitness-functions
GitHub stars
114
Token cost
~2.8k tokens
SKILL.md length
1,180 words
Files
2 (incl. references)
Skills in repo
42
Repo updated
First seen
Licence
Custom licence

At a glance

A skill your agent uses when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries, coupling trends, and complexity…

  • Works in 4 steps: The same layer boundary violation… → A specific import pattern keeps… → The fitness function finding is always… → …
  • Designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries
  • SKILL.md covers Overview, The Constraint vs Fitness…, Fitness Function Catalogue and Tool Reference, plus 4 more sections
  • Calls npx and semgrep

What it does

Fitness Functions is an agent skill from Habitat-Thinking/ai-literacy-superpowers. Use when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries, coupling trends, and complexity hotspots, complementing per-change constraints with weekly architectural health monitoring

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/fitness-catalogue.md`).

The repository describes itself as: A set of Claude Code and GitHub Copilot plugins providing the AI Literacy framework's complete development workflow — harness engineering, agent orchestration, literate….

When your agent uses it

  • Designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries
  • Coupling trends
  • Complexity hotspots
  • Complementing per-change constraints with weekly architectural health monitoring

Example prompts

  • “/fitness-functions”

Requirements

  • Python 3
  • Node.js

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. The same layer boundary violation appears in 3+ consecutive snapshots
  2. A specific import pattern keeps recurring despite issue creation
  3. The fitness function finding is always caused by new code (not legacy)
  4. The check is fast enough to run on every PR without slowing CI

What it can do on your machine

Read from SKILL.md and the folder at commit 9d35995. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npx
    • semgrep

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use npx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fitness Functions loads about 2.8k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 1,180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~70
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,180 words (~2,829 tokens).

“Architectural fitness functions are periodic automated checks that verify system-wide architectural properties. The concept comes from Ford, Parsons, Kua & Sadalage's Building Evolutionary Architectures (O'Reilly, 2017/2022). Their key insight: architecture degrades not through single bad changes but through accumulated small…”

— opening of SKILL.md by Habitat-Thinking, Custom licence
name
fitness-functions

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in ai-literacy-superpowers/skills/fitness-functions of Habitat-Thinking/ai-literacy-superpowers.

  • SKILL.md
  • references/fitness-catalogue.md

Open the folder on GitHubat commit 9d35995

Compare with similar skills

Fitness Functions next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fitness Functions compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fitness Functions this skillHabitat-Thinking/ai-literacy-superpowers114—~2.8kAutomated safety check: PassCustom licence
System Architecture DesignerJeffallan/claude-skills12k—~1.2kAutomated safety check: PassMIT
Architecture Patternswshobson/agents40k—~2kAutomated safety check: PassMIT
Architecture Patternsdavila7/claude-code-templates33k4 repos~483Automated safety check: PassMIT
Design Systemaffaan-m/ECC276k—~698Automated safety check: PassMIT
Design Guidepaperclipai/paperclip100k1 repos~3.1kAutomated safety check: PassMIT

Similar skills

  • System Architecture Designer

    Jeffallan/claude-skills

    Guides system architecture design end to end: gathering requirements, matching them to a pattern, documenting trade-offs with ADRs, and reviewing.

    12k GitHub stars~1.2k tokensUpdated 7 days ago
    DevelopmentAuto-check passed
  • Architecture Patterns

    wshobson/agents

    Implement proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design.

    40k GitHub stars~2k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Architecture Patterns

    davila7/claude-code-templates

    Master proven backend architecture patterns including Clean Architecture, Hexagonal Architecture, and Domain-Driven Design to build maintainable, testable, and scalable systems.

    33k GitHub starsUsed in 4 repos~483 tokens
    DevelopmentAuto-check passed
  • Design System

    affaan-m/ECC

    Generate a design system from an existing codebase or audit one for visual consistency: extract tokens (colors, typography, spacing, shadows) into design-tokens.json and CSS custom properties with…

    276k GitHub stars~698 tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Design Guide

    paperclipai/paperclip

    Paperclip UI design system guide for building consistent, reusable frontend components.

    100k GitHub starsUsed in 1 repo~3.1k tokens
    Frontend & DesignAuto-check passed
  • Audits a design against Dieter Rams' ten principles of good design, scores each with evidence, and hands off a make-plan prompt for a new, refined or redesigned outcome.

    99k GitHub stars~4.6k tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed

More from Habitat-Thinking/ai-literacy-superpowers

All 42 skills in this repo
  • Advocatus Diaboli

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan approval, requires evidence per objection, and discloses what…

    114 GitHub stars~4.2k tokensUpdated 20 days ago
    Auto-check passed
  • AI Literacy Assessment

    Habitat-Thinking/ai-literacy-superpowers

    This skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level", "evaluate our AI collaboration", "where are we on the framework", or wants to…

    114 GitHub stars~3.7k tokensUpdated 20 days ago
    Auto-check passed
  • Carpaccio

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before any spec is written; produces a structured slicing record for…

    114 GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Choice Cartographer

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones), emits each material choice as a Henney-style pattern story for…

    114 GitHub stars~4.1k tokensUpdated 20 days ago
    Auto-check passed
  • Constraint Design

    Habitat-Thinking/ai-literacy-superpowers

    This skill should be used when the user asks to "add a constraint", "design a constraint", "write a harness rule", "choose enforcement type", "promote a constraint", "configure a verification slot"…

    114 GitHub stars~1.8k tokensUpdated 20 days ago
    Auto-check passed
  • Cost Tracking

    Habitat-Thinking/ai-literacy-superpowers

    A skill your agent uses when the user wants to capture AI tool costs, review spending trends, set cost budgets, or integrate cost data into health snapshots — guides quarterly cost capture, records…

    114 GitHub stars~1.7k tokensUpdated 20 days ago
    Auto-check passed

Questions about Fitness Functions

What does Fitness Functions do?

A skill your agent uses when designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries, coupling trends, and complexity…. Fitness Functions is an agent skill from Habitat-Thinking/ai-literacy-superpowers.

When should I use Fitness Functions?

Fitness Functions fits situations like: designing architectural fitness functions as GC rules — periodic checks that verify system-wide properties like layer boundaries; coupling trends; complexity hotspots; complementing per-change constraints with weekly architectural health monitoring.

How do I install Fitness Functions in Claude Code?

Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill fitness-functions -a claude-code`. Or copy the skill folder (ai-literacy-superpowers/skills/fitness-functions in Habitat-Thinking/ai-literacy-superpowers) into .claude/skills/fitness-functions in your project. Claude Code loads it when a task matches its description.

How do I install Fitness Functions in Codex?

Run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill fitness-functions -a codex`. Or copy the skill folder (ai-literacy-superpowers/skills/fitness-functions in Habitat-Thinking/ai-literacy-superpowers) into .agents/skills/fitness-functions in your project. Codex loads it when a task matches its description.

Can I use Fitness Functions in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Habitat-Thinking/ai-literacy-superpowers --skill fitness-functions -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fitness-functions, .gemini/skills/fitness-functions, .github/skills/fitness-functions and .opencode/skills/fitness-functions in your project.

What does Fitness Functions need to run?

Going by SKILL.md and its folder, Fitness Functions needs the command-line tools its instructions call (npx and semgrep). Our summary lists: Python 3; Node.js.

Does Fitness Functions access the network?

SKILL.md contains no URLs. Its commands use npx, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Fitness Functions safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fitness Functions use?

Fitness Functions has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Fitness Functions use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Fitness Functions?

Skills that share tags, products or a category with Fitness Functions: System Architecture Designer (Jeffallan/claude-skills, 12k stars), Architecture Patterns (wshobson/agents, 40k stars), Architecture Patterns (davila7/claude-code-templates, 33k stars) and Design System (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fitness Functions?

Habitat-Thinking (a GitHub organization) maintains it in Habitat-Thinking/ai-literacy-superpowers, which has 114 GitHub stars. The repository holds 42 skills in this directory. The repository was last updated on September 20, 2026.

Source: Habitat-Thinking/ai-literacy-superpowers on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.