text2multihopqa-generator

text2multihopqa-generator is a skill for Claude Code, Codex from OpenDCAI/DataFlow-WebUI. It costs 89 tokens per session (943 once invoked), scanned A, original, Apache-2.0.

A data-processing operator that creates question-and-answer pairs requiring several reasoning steps from longer text.

In plain words
What is it for?
Use it to generate multiple question-and-answer pairs per text row, with accompanying metadata, in a chosen language.
Why use it?
It removes the manual work of turning text into training or evaluation questions that combine information from different parts of the text.

Skill for Claude CodeCodex

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

Good fit Use it to generate multiple question-and-answer pairs per text row, with accompanying metadata, in a chosen language.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opendcai/dataflow-webui/text2multihopqa-generator
Install

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.

Any agent
npx skills add OpenDCAI/DataFlow-WebUI --skill text2multihopqa-generator
Clone the repo
git clone --depth 1 https://github.com/OpenDCAI/DataFlow-WebUI

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 text2multihopqa-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/opendcai/dataflow-webui/text2multihopqa-generator/github.svg)](https://agentmods.dev/skills/opendcai/dataflow-webui/text2multihopqa-generator)
Your own site
<a href="https://agentmods.dev/skills/opendcai/dataflow-webui/text2multihopqa-generator"><img src="https://agentmods.dev/badge/skills/opendcai/dataflow-webui/text2multihopqa-generator/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 text2multihopqa-generator

Your own site · 80×15
<a href="https://agentmods.dev/skills/opendcai/dataflow-webui/text2multihopqa-generator"><img src="https://agentmods.dev/badge/skills/opendcai/dataflow-webui/text2multihopqa-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00089 $0.00943
Opus 5.5 $0.00036 $0.00377
Sonnet 5.5 $0.00018 $0.00189
Haiku 4.5 $0.00009 $0.00094

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

Security

Grade A, and why

text2multihopqa-generator 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/canonical/core_text/generate/text2multihopqa-generator/SKILL.md · 116 lines

How it starts

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

Text2MultiHopQAGenerator Operator Reference

Text2MultiHopQAGenerator reads one text column, generates up to num_q multi-hop QA pairs per input row, stores the per-row QA list in output_key, stores metadata in output_meta_key, then filters out rows whose generated QA list is empty.

See examples/good.md for a valid pipeline pattern and examples/bad.md for common failure cases.


1. Import

from dataflow.operators.core_text import Text2MultiHopQAGenerator

2. Constructor

Text2MultiHopQAGenerator(
    llm_serving=llm,
    seed=0,
    lang="en",
    prompt_template=None,
    num_q=5,
)
Parameter Required Default Description
llm_serving Yes None LLM backend passed through to ExampleConstructor, which later calls generate_from_input(...).
seed No 0 Used to initialize random.Random(seed).
lang No "en" Controls prompt construction and sentence splitting logic.
prompt_template No None If omitted, uses Text2MultiHopQAGeneratorPrompt(lang=self.lang).
num_q No 5 Maximum number of QA pairs kept per row after generation.

3. run() Signature

op.run(
    storage=self.storage.step(),
    input_key="cleaned_chunk",
    output_key="QA_pairs",
    output_meta_key="QA_metadata",
)
Parameter Required Default Description
storage Yes None Used as storage.read("dataframe") and storage.write(dataframe).
input_key No "cleaned_chunk" Source text column. This column must already exist.
output_key No "QA_pairs" Output column containing a list of QA dicts for each remaining row. This column must not already exist.
output_meta_key No "QA_metadata" Output column containing metadata dicts for each remaining row.

Return Value

The method returns [output_key].


Read the full file on GitHub · 116 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 116 lines · 89 tokens per session scan A e243500b51ef

Subscribe to this mod's changes

text2multihopqa-generator is a skill published in the GitHub repository OpenDCAI/DataFlow-WebUI (253 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 89 tokens to every session and 943 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-30.

Related

Other skills, from other repositories

hr-onboarding

A new-hire onboarding plan as a single page — first week schedule, buddy + manager intro, learning track, equipment checklist, and "you're set when…" outcomes. Use when the brief mentions "onboarding", "new hire", "first week plan", or "入职".

nexu-io/open-design · 62 tokens

book-mirror

Take any book (EPUB/PDF), produce a personalized chapter-by-chapter analysis. Each chapter is preserved in detail (The Chapter) and mirrored back to the reader's actual life (The Mirror) using brain context. The mirror observes and resonates — a friend pointing out parallels, NOT a consultant rearranging the reader's…

garrytan/gbrain · 138 tokens

exam-forecast

Analyze past exams from the same professor to surface patterns — subject weighting, recurring issue-spot traps, favored hypo types, policy-vs-doctrine mix — and forecast likely emphases for the upcoming exam. Use when the user says "what's on the exam", "analyze past exams", "predict the exam", or shares past exams.

anthropics/claude-for-legal · 73 tokens

lean-formalize

Develop and verify a mathematical proof in Lean, continue an incomplete Lean project, or audit whether it proves the original statement. Connect actual inputs to intermediate lemmas, assemble the target theorem, check its transitive axioms, and provide a reproducible handoff. Use when Lean is requested or a specific…

wanshuiyin/Auto-claude-code-research-in-sleep · 81 tokens

eli5

Explain research, papers, or technical ideas in plain English with minimal jargon, concrete analogies, and clear takeaways. Use when the user says "ELI5 this", asks for a simple explanation of a paper or research result, wants jargon removed, or asks what something technically dense actually means.

companion-inc/feynman · 63 tokens

deck-course-module

A course or workshop slide template with persistent learning goals, teaching pages, multiple-choice self-tests, and a wrap-up.

nexu-io/html-anything · 25 tokens