Works with the AI Agents you already use

    ForgeAI

    by Akhil

    1

    Takes a brief + documents folder → auto-builds a grounded Q&A AI agent, tests it, optimizes it, and gives an honest scorecard. 8-stage pipeline, never bluffs.

    $15

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    ForgeAI

    ForgeAI

    Example session with this skill installed

    Build a grounded Q&A agent for NASA's ISS research dataset. The agent should answer questions about ISS experiments, crew activities, and mission timelines using only the provided CSV and PDF files. It must cite sources and refuse questions not covered by the documents. Use auto mode with up to 3 optimization rounds.

    • Read your context and instructions
    • Compiled the forgeai
    • Generated the data export

    Summary

    ForgeAI processed 4 NASA ISS documents (2 CSVs, 1 PDF, 1 XLSX) in 8 automated stages — built a grounded Q&A agent, generated 20 stratified test cases, optimized across 3 rounds, and scored on a frozen holdout split the agent never trained on.

    Pipeline Execution Log

    StageDescriptionDurationStatus
    S0 — LoaderIngested 4 files, OCR on 2 scanned PDF pages, auto-detected CSV headers, profiled 47 columns8.2s✅
    S1 — InterviewerExtracted 6 must-answer topics, 3 must-refuse boundaries, scoped to ISS research domain4.1s✅
    S2 — ScoutVerified all 6 must-answer topics grounded in source chunks (confidence: 0.87–0.96)5.3s✅
    S3 — BuilderGenerated agent definition with hybrid retrieval, refusal policy, and csv_lookup tool3.8s✅
    S4 — Exam MakerCreated 20 test cases (14 answerable + 6 must-refuse), fact-in-chunk verified, split 70/3011.4s✅
    S5/S6 — Helper & TeacherRan agent + graded with separate-family LLM judge32.1s✅
    S7 — Doctor2 optimization rounds, patched 1 retrieval_miss + 1 wrong_refusal, rollback on round 348.6s✅
    S8 — ScribeGenerated report.md, report.json, scorecard_holdout.json2.9s✅

    Evaluation Scorecard

    SplitCorrectWrongRefusals (Correct)Refusals (Wrong)Score
    Dev (70%)14/1404/40100.0%
    Holdout (30%)6/602/20100.0%

    Sample Agent Interaction

    Q: What experiments were conducted on the ISS during Expedition 65?

    A: During Expedition 65, the ISS hosted experiments including the Tissue Chips in Space study examining immune system aging, the CRISPR gene-editing investigation, and the Veg-05 plant growth study for sustainable food production in microgravity. [Source: iss_experiments_2021.csv, rows 142–158]

    Q: What is SpaceX's stock price?

    A: ⛔ REFUSED — This question is outside the scope of the provided ISS research documents. The corpus covers ISS experiments, crew activities, and mission timelines but does not contain financial or stock market data.

    Output Artifacts

    All artifacts saved to runs/beece989-55f/:

    • agent_definition.json — Declarative agent blueprint (prompt, retrieval config, tools)
    • report.md — Executive report with Dev & Holdout scorecards
    • report.json — Machine-readable results
    • scorecard_round_1.json ... scorecard_holdout.json — Per-case grading logs
    • eval_set.jsonl — Verified test suite (20 cases)
    • patches.json — Optimization history with rollback decisions
    • load_report.json — Format gate audit
    • groundability.json — S2 corpus coverage proof

    Next Steps

    • Chat with the agent: python -m forgeai chat --run-dir runs/beece989-55f
    • Re-evaluate on new documents: Add files to your docs folder and re-run forgeai build
    • Deploy: Use agent_definition.json as the blueprint for your production RAG system
    • Inspect failures: Open report.md for the full optimization diary and any unresolved edge cases

    iss_experiments_2021.csv

    CSV · data export

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    ForgeAI — The Agent Factory That Refuses To Bluff

    ForgeAI is an autonomous agent factory that builds, evaluates, optimizes, and honestly reports on grounded Q&A AI agents. You give it a one-paragraph brief describing what your agent should do and a folder of documents (PDFs, CSVs, XLSX, DOCX, PPTX, JSON, HTML, Markdown, TXT) — it does the rest.

    How It Works — 8-Stage Pipeline S0 — Loader: Ingests 10+ file formats, runs CPU OCR on scanned PDFs, auto-detects spreadsheet headers, profiles tabular features, sentence-aware chunking that snaps to natural boundaries S1 — Interviewer: Converts your brief + document previews into structured requirements (scope, audience, tone, must-answer topics, must-refuse topics, allowed tools) S2 — Scout: Verifies your brief is actually supported by the documents. If not, it halts early — never builds a hallucinating agent S3 — Builder: Generates a declarative agent definition with system prompt, retrieval config, refusal policy, and tools S4 — Exam Maker: Creates 20+ stratified test cases (answerable + must-refuse + edge cases), verifies every eval answer exists in source chunks, splits 70% Dev / 30% Frozen Holdout S5/S6 — Helper & Teacher: Runs the agent with verbatim chunk citations, then grades answers using deterministic checks + a separate LLM judge S7 — Doctor: Diagnoses failures (hallucination, wrong refusal, retrieval miss, prompt defect), applies targeted patches for up to 3 rounds on the Dev split with rollback protection, then evaluates once on the frozen Holdout S8 — Scribe: Generates a full report with exact Dev & Holdout scores, optimization diary, and unresolved failures Key Technical Features Hybrid Retrieval: BM25 + dense embeddings (fastembed/BAAI bge-small-en) + TF-IDF cosine + Reciprocal Rank Fusion, with compound query decomposition PDF OCR: pypdfium2 rendering + rapidocr-onnxruntime for scanned/image-heavy pages Smart Chunking: Sentence/paragraph/word boundary snapping with section heading propagation Tabular Intelligence: DuckDB out-of-core profiling for large CSVs, openpyxl multi-sheet XLSX with header auto-detection and feature summaries Gateway Resilience: Gemini fallback chain (2.5-flash → 3.5-flash → 2.5-flash-lite), exponential backoff on rate limits/server errors, prompt trimming to prevent context overflow Anti-Hallucination: Fact-in-chunk eval gate, groundability guard, one-shot JSON repair, anti-false-refusal prompt engineering Dual Backend: Google Gemini API or local Ollama (qwen3/gemma3) Honest Reporting: Frozen holdout split prevents overfitting, scorecard never inflates — reports failures transparently Proven Results

    • Dataset: Dev Score, Holdout Score
    • NASA ISS: 100%, 100%
    • World Bank EdStats: 85.7%, 50%
    • WHO Drinking Water: 64.3%, 66.7%

    Interfaces CLI: python -m forgeai build, chat, evaluate, report Streamlit Web App: Interactive UI with file upload, brief input, live pipeline progress, and scorecard display

    Requires a compatible LLM backend (Gemini API or Ollama).
    Output quality depends on the selected model and source documents.
    Complex scanned PDFs may have extraction errors.
    Automated evaluation scores are not a guarantee of production accuracy.
    Human verification is recommended for critical decisions.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 days ago

    Accounts
    Google AI
    Gemini API key
    orlocal Ollama
    Software
    Python 3.10+
    Optional
    openpyxlpypdfium2rapidocr-onnxruntime

    All dependencies install automatically via pip install -r requirements.txt. GPU is not required — OCR and embeddings run on CPU. Free-tier Gemini API key is sufficient for most use cases.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables

    Allowed Hosts

    generativelanguage.googleapis.com

    File Scopes

    runs/**
    scripts/**
    *.json
    *.md
    *.csv
    *.xlsx
    *.pdf

    ForgeAI reads documents from the folder you specify and writes all output artifacts (agent definition, scorecards, reports) to a runs/<run_id>/ directory. It calls the Gemini API for LLM inference (or Ollama locally). No data is stored externally.

    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Yes. OCR uses rapidocr-onnxruntime (CPU), embeddings use fastembed with ONNX (CPU). No GPU needed.

    Yes. Set FORGEAI_PROVIDER=ollama and point OLLAMA_HOST to your Ollama instance. Recommended models: qwen3:4b for the agent, gemma3:4b for the judge.

    PDF (including scanned with OCR), CSV, XLSX (multi-sheet), DOCX, PPTX, JSON, JSONL, HTML, Markdown, and plain text.

    ForgeAI splits generated test cases 70/30. The optimizer only sees and tunes on the 70% Dev split. The 30% Holdout is evaluated once at the end — this prevents overfitting and gives you an honest, unbiased score.

    ForgeAI's Scout stage (S2) checks groundability before building. If your brief asks about topics the documents don't cover, it halts with Exit Code 20 and tells you exactly what's missing — it never builds a hallucinating agent.

    New in LLM Ops

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.