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.
npx skills add tam159/next-role --skill python-fallbackgit clone --depth 1 https://github.com/tam159/next-roleWrote 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.
[](https://agentmods.dev/skills/tam159/next-role/python-fallback)<a href="https://agentmods.dev/skills/tam159/next-role/python-fallback"><img src="https://agentmods.dev/badge/skills/tam159/next-role/python-fallback/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.
<a href="https://agentmods.dev/skills/tam159/next-role/python-fallback"><img src="https://agentmods.dev/badge/skills/tam159/next-role/python-fallback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.00409 |
| Opus 5.5 | $0.00024 | $0.00164 |
| Sonnet 5.5 | $0.00012 | $0.00082 |
| Haiku 4.5 | $0.00006 | $0.00041 |
Grade A, and why
python-fallback 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 29d 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.
What it actually says
Python fallback
create_chart draws every supported kind from SQL, with no approval needed. Reach for this only when the visual itself is outside it: dual y-axes, annotations, subplots or small multiples, a trend line over a scatter, error bars.
Export the data first:
run_sql("SELECT ...", save_as="rows.csv") -> returns an absolute path
Then write a script and run it with execute (this pauses for approval):
import pandas as pd
import plotly.graph_objects as go
from plotly.subplots import make_subplots
df = pd.read_csv("/tmp/nextrole-analytics/<thread id>/rows.csv")
fig = make_subplots(specs=[[{"secondary_y": True}]])
fig.add_trace(go.Bar(x=df["day"], y=df["runs"], name="runs"))
fig.add_trace(go.Scatter(x=df["day"], y=df["cost_usd"], name="cost"), secondary_y=True)
fig.write_json("/tmp/nextrole-analytics/<thread id>/runs-and-cost.plotly.json")
Then publish it, and it renders like any other chart:
create_chart(kind="bar", title="Runs and cost per day",
figure_path="/tmp/nextrole-analytics/<thread id>/runs-and-cost.plotly.json")
Scripts have no database credentials by design — data reaches them only through save_as. pandas and plotly are installed; do not install anything.
Do not set colors or a template in a custom figure. The interface themes every chart for light and dark at render time, and hard-coded colors survive into the wrong theme.
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.
- 29d ago First seen · 40 lines · 61 tokens per session scan A 17e8cc9b8b38
python-fallback is a skill published in the GitHub repository tam159/next-role (70 stars, last pushed 15d ago), licensed MIT. It adds 61 tokens to every session and 409 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-11-01.
python-fallback compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| python-fallbacktam159/next-role | Skill | 70 | 15d ago | MIT | A | 61 | Claude Code, Codex |
| langgraph-docslangchain-ai/deepagents | Skill | 32k | today | MIT | A | 62 | Claude Code, Codex |
| codingbojieli/ai-agent-book | Skill | 60k | yesterday | Apache-2.0 | A | 18 | Claude Code, Codex |
| python-mathtrpc-group/trpc-agent-go | Skill | 1.9k | yesterday | Apache-2.0 | A | 13 | Claude Code, Codex |
| python-djangoOrcaQubits/agentic-commerce-skills-plugins | Skill | 41 | 16d ago | MIT | A | 46 | Claude Code |
| py-reviewerRaNDoM6913/claude-code-superkit | Skill | 3 | today | MIT | A | 35 | Claude Code |
| showcase-notesljxpython/ai-agent-platform | Skill | 169 | today | none | A | 18 | Claude Code, Codex |