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 agentmods add skills/jnzader/repoforge/apinpx skills add JNZader/repoforge --skill apigit clone --depth 1 https://github.com/JNZader/repoforgeWhat 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 | $0.00026 | $0.00534 |
| Opus 5 | $0.00013 | $0.00267 |
| Sonnet 5 | $0.00005 | $0.00107 |
| Haiku 4.5 | $0.00003 | $0.00053 |
Grade A, and why
fetch-api-data 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 2d 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
fetch-api-data
This skill covers patterns for fetching and managing API data.
Trigger: When working with API interactions in the frontend.
Quick Reference
| Task | Pattern |
|---|---|
| Fetch API data | fetchApi |
| Start a generation process | startGeneration |
Critical Patterns (Summary)
- Fetch API Data: Use
fetchApito retrieve data from the API. - Start Generation Process: Utilize
startGenerationto initiate a data generation process.
Critical Patterns (Detailed)
Fetch API Data
Use fetchApi to retrieve data from the API, handling errors with ApiError.
import { fetchApi, ApiError } from './lib/api';
async function getData() {
try {
const data = await fetchApi('/endpoint');
console.log(data);
} catch (error) {
if (error instanceof ApiError) {
console.error('API Error:', error.message);
}
}
}
Start Generation Process
Utilize startGeneration to initiate a data generation process, allowing for real-time updates.
import { startGeneration } from './lib/api';
function initiateGeneration() {
startGeneration({ type: 'example' })
.then(response => console.log('Generation started:', response))
.catch(error => console.error('Error starting generation:', error));
}
When to Use
- When you need to fetch data from an external API.
- When initiating a data generation process that requires real-time updates.
Commands
docker-compose up
python repoforge/cli.py fetch-data
Anti-Patterns
Don't: Ignore ApiError Handling
Ignoring ApiError can lead to unhandled exceptions and poor user experience.
// BAD
async function getData() {
const data = await fetchApi('/endpoint'); // No error handling
console.log(data);
}
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.
- 2d ago First seen · 99 lines · 26 tokens per session scan A eee775af3547
fetch-api-data is a skill published in the GitHub repository JNZader/repoforge (5 stars, last pushed 8d ago), licensed MIT. It adds 26 tokens to every session and 534 once invoked, about $0.0001 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-31.
Other skills, from other repositories
html-ppt-zhangzara-capsule
A year-end self-review for a product manager — the role, the outcomes, the learning, and the ask, all evidence-backed. Built as a decision-grade career deck for manager, review committee.
html-ppt-zhangzara-neo-grid-bold
A designer's portfolio narrative for a senior interview — three case studies, the craft, and the judgment behind each. Built as a decision-grade career deck for hiring panel.
html-ppt-xhs-white-editorial
A staff-engineer promotion packet — scope, the proof moments, the artifacts, and the impact that clears the bar. Built as a decision-grade career deck for manager, calibration committee.
multi-program-manager
Manage and compare multiple affiliate programs as a portfolio. Triggers on: "manage my affiliate programs", "compare my programs", "portfolio overview", "which program should I focus on", "diversify my affiliate income", "program switching", "affiliate portfolio", "program comparison", "revenue allocation", "which…
tailwind-css-patterns
Provides comprehensive Tailwind CSS utility-first styling patterns including responsive design, layout utilities, flexbox, grid, spacing, typography, colors, and modern CSS best practices. Use when styling React/Vue/Svelte components, building responsive layouts, implementing design systems, or optimizing CSS workflow.
criador-de-portfolio
Construção de portfólio profissional digital: seleção e apresentação de projetos, estrutura de cases com problema-solução-resultado, showcase de habilidades e estratégia de distribuição para atrair clientes e recrutadores.