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/opendcai/dataflow-webui/text2multihopqa-generatornpx skills add OpenDCAI/DataFlow-WebUI --skill text2multihopqa-generatorgit clone --depth 1 https://github.com/OpenDCAI/DataFlow-WebUIWrote 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/opendcai/dataflow-webui/text2multihopqa-generator)<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="Measured on agentmods" 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 | $0.00089 | $0.00943 |
| Opus 5 | $0.00044 | $0.00472 |
| Sonnet 5 | $0.00018 | $0.00189 |
| Haiku 4.5 | $0.00009 | $0.00094 |
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 4d 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.
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].
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.
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.
- 4d ago First seen · 116 lines · 89 tokens per session scan A e243500b51ef
text2multihopqa-generator is a skill published in the GitHub repository OpenDCAI/DataFlow-WebUI (224 stars, last pushed 9d ago), licensed Apache-2.0. It adds 89 tokens to every session and 943 once invoked, about $0.0004 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-30.
Other skills, from other repositories
article-writing
Write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.
ljg-learn
Deep concept anatomist that deconstructs any concept through 8 exploration dimensions (history, dialectics, phenomenology, linguistics, formalization, existentialism, aesthetics, meta-philosophy) and compresses insights into an epiphany. Use when user asks to explain, dissect, or deeply understand a concept, term, or…
miniapp
Build a tiny interactive HTML playground only when someone asks to see, play with, or step through a mechanism.
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.
code-documenter
Use when adding docstrings, creating API documentation, or building documentation sites. Invoke for OpenAPI/Swagger specs, JSDoc, doc portals, tutorials, user guides.
deck-course-module
暖纸背景 + Playfair, 左侧学习目标常驻, 含 MCQ 自测页.