algorithm-prototyping-workflow

algorithm-prototyping-workflow is a skill for Claude Code, Codex from sillyDaibo/reasflow-dev. It costs 30 tokens per session (527 once invoked), scanned A, original, MIT.

A workflow for turning an algorithm idea into pseudocode, runnable code, and a small feasibility experiment. It also requires reports and saved test results.

In plain words
What is it for?
Use it to create algorithm documentation, implementation and tests, run a quick experiment, and save reproducible data and findings.
Why use it?
It ensures an algorithm is tested in practice instead of remaining only a discussion or design sketch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is if [ -d ./.agents/skills ]; then.

Good fit Use it to create algorithm documentation, implementation and tests, run a quick experiment, and save reproducible data and findings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/sillyDaibo/reasflow-dev
agentmods
npx agentmods add skills/sillydaibo/reasflow-dev/algorithm-prototyping-workflow

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 algorithm-prototyping-workflow

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sillydaibo/reasflow-dev/algorithm-prototyping-workflow"><img src="https://agentmods.dev/badge/skills/sillydaibo/reasflow-dev/algorithm-prototyping-workflow.svg" alt="Reviewed on agentmods" width="80" 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 527 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.00030 $0.00527
Opus 5.5 $0.00012 $0.00211
Sonnet 5.5 $0.00006 $0.00105
Haiku 4.5 $0.00003 $0.00053

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

Security

Grade A, and why

algorithm-prototyping-workflow 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.

skills/reasflow/algorithm/algorithm-prototyping-workflow/SKILL.md · 58 lines

What it actually says

Installed Root

Resolve the installed reasflow-dev skills root before running packaged scripts:

REASFLOW_SKILLS_ROOT="${REASFLOW_SKILLS_ROOT:-}"
if [ -z "$REASFLOW_SKILLS_ROOT" ]; then
  if [ -d ./.agents/skills ]; then
    REASFLOW_SKILLS_ROOT="$(pwd)/.agents/skills"
  elif [ -d "$HOME/.agents/skills" ]; then
    REASFLOW_SKILLS_ROOT="$HOME/.agents/skills"
  else
    echo "reasflow-dev skills not found in ./.agents/skills or $HOME/.agents/skills" >&2
    exit 1
  fi
fi

Algorithm Prototyping Workflow

Overview

Use this when Algorithm must deliver concrete method artifacts, not only discussion. The minimum bar is pseudocode plus runnable code plus one executed feasibility run.

Required Artifacts

  1. Alg_Exp/document/pseudocode.tex
  2. Alg_Exp/code/algorithm.py
  3. Alg_Exp/code/test_algorithm.py
  4. Alg_Exp/code/quick_experiment.py (or equivalent experiment section in test code)
  5. Alg_Exp/data/test_run.json or Alg_Exp/data/test_run.csv
  6. Alg_Exp/document/algorithm_design.md
  7. Alg_Exp/document/test_experiment_report.md

Workflow

  1. Lock assumptions and invariants first with algorithm-design-review.
  2. Draft and save pseudocode before implementation.
  3. Implement the minimal runnable algorithm API.
  4. Add and run at least one basic executable test.
  5. Run one quick experiment on a controllable toy problem and capture logs.
  6. If numeric traces are available, use smart-plotting to save at least one figure under Alg_Exp/picture/.
  7. Record commands, metrics, pass or fail judgment, and next steps in test_experiment_report.md.

Command Logging

Use experiment-execution for reproducible command logging and seed tracking whenever scripts are run from Alg_Exp/code/.

Final Response Contract

Before finishing, include:

  • a short pseudocode snippet
  • the executed test command and result
  • the executed quick experiment command and key metrics
  • an explicit feasibility judgment
  • paths to all generated artifacts
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 First seen · 58 lines · 30 tokens per session scan A f298cc011455

Subscribe to this mod's changes

algorithm-prototyping-workflow is a skill published in the GitHub repository sillyDaibo/reasflow-dev (2 stars, last pushed 1mo ago), licensed MIT. It adds 30 tokens to every session and 527 once invoked, about $0.0001 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.