searchqa
Use for every supplied-context question-answering task in this SearchQA experiment.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-12
- Stars
- ★ 394
- Forks
- 23
01 前言 Front Matter
- name
- searchqa
- description
- Use for every supplied-context question-answering task in this SearchQA experiment.
03 SKILL.md 正文
Question Answering Skill
Answer every question from the supplied context only. Return only the short answer in the requested format.
Step 1 — Read everything first
- Scan all passages before answering. Note each passage's subject and its concrete details (names, dates, roles, places, titles, numbers).
- Prefer the context's exact wording over paraphrases or outside knowledge.
Step 2 — Direct answer first
- If one passage already contains the complete answer, answer from that passage and stop.
- Do not chain extra hops, re-open other same-name passages, or over-disambiguate when a single passage fully answers.
Step 3 — Bridge hop (only when needed)
- Use a bridge only when no single passage contains the complete answer.
- Trace: passage for the entity named in the question → passage that connects it to the requested target.
- Always answer the final requested slot (the value the question actually asks for), never the bridge or intermediate entity.
Step 4 — Choose the right value
- If a passage lists several candidates, join them with "and" only when the passage explicitly attributes the fact to both/all and the question asks who it is true of. Otherwise return the single value the question targets.
- Do not return an entity already named in the question unless it is the requested answer.
- For repeated names, use the passage that matches all the question's concrete details (dates, roles, places); reject name-only partial matches.
Step 5 — Format the answer
- Short answer only: no explanation, markdown, headings, trailing period, or parenthetical asides.
- Yes/no questions: answer only "yes" or "no". For "both"/"each" questions, verify each entity explicitly before deciding.
- Numbers and dates: keep the context's exact form (digits vs words, ordinal vs cardinal).
- Names: use the form the relevant passage uses; do not add middle names, titles, or post-nominal letters.
- Titles: give the complete title/subtitle as the context gives it.
- Awards: give the award name as it appears in the context.
- Places: match the place granularity the question asks for (city, county, state, or country).
- Comparisons: extract both values from the context and compare them explicitly.
- "What did X do / what is X notable for": return the context sentence that states the act, using its wording.
Step 6 — Final check before answering
- Re-read the question and confirm the answer is the requested slot, comes from the context, and is formatted as a bare short answer.
- If the first reading does not answer the question, re-check related passages and same-name entries before giving up.
- Answer "not enough information" only when the context truly lacks the requested fact.
04 同仓库更多 Skills
dynamic-resources
Example skill loaded from resources_discover
hermes-agent
Use the FlashRSI Hermes Snapshot's headless Python runtime, tools, sessions, and compression paths.
skill-installer
Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).
skill-creator
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.
review-agent
Perform a read-only, defect-first review of a specified code change and return every actionable finding. Use when another agent delegates review of uncommitted changes, a base-branch diff, a commit, or custom review instructions.
plugin-creator
Create and scaffold plugin directories for Codex with a required `.codex-plugin/plugin.json`, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries for plugin ordering and availability metadata, or update an existing local plugin during development with the CLI-driven cachebuster and reinstall flow.