agentflare: Skill for Claude Code

.claude/skills/algorithm-pseudocode-design/SKILL.md

algorithm-pseudocode-design is a skill for Claude Code from getappz/agentflare. It costs 107 tokens per session (1,074 once invoked), scanned A, original, Apache-2.0.

A method for planning a complex algorithm in plain, language-independent steps before writing code. It focuses on logic, correctness, data structures, and running time.

In plain words
What is it for?
Use it for concurrency, rate limiting, cache eviction, ranking, scoring, or other logic where correctness and efficiency matter. It is unnecessary for simple CRUD or routine plumbing.
Why use it?
It catches problems such as incorrect control flow, off-by-one errors, and slow approaches before they become harder to fix in code.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is getappz/agentflare's own configuration. It tells Claude Code how to work on agentflare itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentflare configures →

Reuse

Borrowing it

Nothing to install: this file belongs to getappz/agentflare. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/getappz/agentflare/master/.claude/skills/algorithm-pseudocode-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/getappz/agentflare

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 algorithm-pseudocode-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/getappz/agentflare/algorithm-pseudocode-design/github.svg)](https://agentmods.dev/skills/getappz/agentflare/algorithm-pseudocode-design)
Your own site
<a href="https://agentmods.dev/skills/getappz/agentflare/algorithm-pseudocode-design"><img src="https://agentmods.dev/badge/skills/getappz/agentflare/algorithm-pseudocode-design/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 algorithm-pseudocode-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/getappz/agentflare/algorithm-pseudocode-design"><img src="https://agentmods.dev/badge/skills/getappz/agentflare/algorithm-pseudocode-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 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.00107 $0.01074
Opus 5.5 $0.00043 $0.00430
Sonnet 5.5 $0.00021 $0.00215
Haiku 4.5 $0.00011 $0.00107

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

Security

Grade A, and why

algorithm-pseudocode-design 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 2mo 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.

.claude/skills/algorithm-pseudocode-design/SKILL.md · 128 lines

How it starts

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

Algorithm & Pseudocode Design

Design the algorithm before committing to a language's syntax. Pseudocode forces you to separate "what is the logic" from "how does this language express it" — bugs found at this stage are far cheaper than bugs found after a full implementation.

When to use

  • The algorithm is non-trivial: non-obvious data structure choice, tricky control flow, concurrency, or a correctness property that's easy to get subtly wrong (rate limiting, cache eviction, ranking/scoring).
  • Complexity matters and hasn't been thought through yet — "this might be O(n²) on the hot path" is worth catching on paper.
  • Skip for code that's a direct, obvious translation of the requirement (simple CRUD, straightforward glue/plumbing) — pseudocode adds no value there.

Structure and syntax

Keep it language-agnostic — no language-specific syntax, so the logic reads the same regardless of what it'll be implemented in:

ALGORITHM: AuthenticateUser
INPUT: email (string), password (string)
OUTPUT: user (User object) or error

BEGIN
    IF email is empty OR password is empty THEN
        RETURN error("Invalid credentials")
    END IF

    user ← Database.findUserByEmail(email)
    IF user is null THEN
        RETURN error("User not found")
    END IF

    isValid ← PasswordHasher.verify(password, user.passwordHash)
    IF NOT isValid THEN
        SecurityLog.logFailedLogin(email)
        RETURN error("Invalid credentials")
    END IF

    session ← CreateUserSession(user)
    RETURN {user: user, session: session}
END

Data structure selection

Name the structure, its complexity per operation, and why it was chosen over the alternatives — not just what it is:

UserCache:
    Type: LRU cache with TTL
    Purpose: reduce DB queries for active users
    Operations: get O(1), set O(1), evict O(1)

PermissionTree:
    Type: trie (prefix tree)
    Purpose: efficient hierarchical permission checks
    Operations: hasPermission(path) O(m), m = path length

Read the full file on GitHub · 128 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. 2mo ago First seen · 128 lines · 107 tokens per session scan A 8dbbe68edcfa

Subscribe to this mod's changes

algorithm-pseudocode-design is a skill published in the GitHub repository getappz/agentflare (2 stars, last pushed today), licensed Apache-2.0. It adds 107 tokens to every session and 1,074 once invoked, about $0.0004 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-31.

Related

Other skills, from other repositories

find-simplifications

Use for a periodic repo-wide sweep of qwen-code for accumulated excess surface — dead components and files, orphaned locale keys, exports nothing consumes, added-then-removed scaffolding — filing candidates on a tracking issue and landing only what a maintainer has said yes to. Repo-wide and evidence-first; every…

QwenLM/qwen-code · 103 tokens

swarm-pr-review

Run a graph-guided, tool-augmented PR review using context packing, parallel exploration, mandatory repository-agnostic risk-family coverage with dispatch scaled to diff size and risk, independent reviewer validation, critic challenge, and metrics writeback. Use for deep pull request review with low false-positive…

ZaxbyHub/opencode-swarm · 91 tokens

code-review

You are a senior code reviewer. You receive diffs via stdin.

jrswab/axe · 0 tokens

include-test-files-that-assert-on-behavior-being-changed-in-decl

When delegating a task affected by this skill, include.

ZaxbyHub/opencode-swarm · 29 tokens

agent-debug-ci

Investigate failed scheduled or nightly GitHub Actions runs on the default branch, determine whether the failure is reproducible and repository-owned, implement the smallest evidence-backed fix, validate it, and open a pull request. Use when a failed nightly CI event starts an agent, or when the standard CI or…

NVIDIA/elements · 80 tokens

audit-ci

Run and analyze Elements cold CI performance profiles and propose evidence-backed build, test, lint, and dependency-graph improvements. Use whenever asked to profile or benchmark pnpm run ci, rerun ci:profile, create a CI performance audit, compare CI timings, find bottlenecks or the completion path, investigate a CI…

NVIDIA/elements · 78 tokens