agentsclimarketplace

Json qa

Skill cxcscmu/SkillLearnBench/skills/b4-skill-creator-claude-sonnet-4-6/enterprise-information-search/json-qa

Answer questions from JSON enterprise data and write results to answer.json. Use this skill when the user asks multiple questions about enterprise data and needs answers stored in a JSON file with token counts. Handles the output format requirements for answer.json.From its SKILL.md

Install
npx -y skills add cxcscmu/SkillLearnBench --skill json-qa

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, 221 tokens by cl100k_base, as published. Nobody here has run it

JSON Q&A Answer Writer

Output Format

Write answers to /root/answer.json with this exact structure:

{
    "q1": {"answer": ["item1", "item2"], "tokens": 123},
    "q2": {"answer": ["item1"], "tokens": 456},
    "q3": {"answer": ["url1", "url2"], "tokens": 789}
}

Rules

  • answer is always a list, even if only one item
  • tokens is a positive integer (not a string) representing tokens consumed for that question
  • All question keys match the keys from the question file exactly

Token Estimation

  • Estimate tokens as: ~(input characters / 4) + ~(output characters / 4)
  • For grep searches on large files, count the characters in the grep results
  • Keep a running total per question

Writing the Answer File

Use the Write tool to create /root/answer.json with all answers after completing all questions.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.