diagnose-docs
Find documentation problems that caused agent mistakes — gaps, inaccuracies, or ambiguities. Uses grade context to guide diagnosis.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Find documentation problems that caused agent mistakes — gaps, inaccuracies, or ambiguities. Uses grade context to guide diagnosis.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Install the MadAgents agent system into a folder on this machine, to be run without a container. Use when the user wants MadAgents outside Apptainer — in a project folder, on a login node, or anywhere they already have MadGraph — or wants to refresh an existing install.
Edit MadGraph documentation with parallel review: style, quality, and factual verification. Revises until all checks pass or max rounds reached.
Generate evaluation questions about MadGraph and related tools with verified reference answers, using web research for real-world use cases.
Get a writable copy of the MadGraph documentation.
Run one iteration of the doc improvement loop: generate or accept questions, answer them in parallel, verify, grade, diagnose, fix the docs, and re-evaluate until convergence.
Extract factual claims from text and verify each one using execution, source inspection, or physics reasoning.
| name | diagnose-docs |
| description | Find documentation problems that caused agent mistakes — gaps, inaccuracies, or ambiguities. Uses grade context to guide diagnosis. |
Find documentation issues that caused or contributed to problems. Your goal is to identify what needs to change in the docs to prevent similar issues.
$ARGUMENTS
If a description was given, use it as the problem to diagnose. If a file path was given (e.g. verdicts JSON), read it and extract entries where correct is false. If nothing was given, ask the user what went wrong.
If a grade file is available (e.g. /workspace/train/grade/grade.json), read it for context. When the inefficient tag is present, also look for unnecessary effort in the agent's workflow caused by doc gaps.
The docs at /madgraph_docs/ are operational reference for an expert LLM agent using MadGraph. They cover MadGraph-specific syntax, parameters, defaults, and behavior — not textbook physics. A topic is in scope if knowing it helps the agent correctly use MadGraph.
Some web search and code inspection is expected and healthy — looking up specifics about papers or model implementations is normal. Inefficiency means the agent had to search for basic operational information that the docs should provide (common commands, default values, parameter names, standard workflows).
Get the docs: Call get_doc_draft("/workspace/docs_check") to get a local copy you can read.
For each issue:
Write your findings to a file (e.g., /workspace/diagnoses.json):
{
"doc_gap": [
{
"problem": "What went wrong or what information was missing",
"correct_info": "The correct information",
"recommendation": "Specific documentation change to prevent this"
}
],
"doc_incorrect": [],
"doc_ambiguous": []
}
Include all categories. Empty lists are fine.
After writing results, verify:
problem, correct_info, and recommendation