aipoch/open-science / resources/skills/skill-creator
skill-creator
VerifiedCreate, revise, evaluate, publish, and improve Open-Science Skills through the native JavaScript host.skills composer. Use when the user wants a reusable workflow, an existing Skill changed, test cases or benchmarks for a Skill, or better Skill triggering.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 6.5 KB |
| agents/analyzer.md | markdown | 989 B |
| agents/comparator.md | markdown | 815 B |
| agents/grader.md | markdown | 1.2 KB |
| assets/eval_review.html | other | 3.5 KB |
| eval-viewer/generate-review.js | script | 4.0 KB |
| eval-viewer/viewer.html | other | 4.6 KB |
| package.json | manifest | 25 B |
| references/schemas.md | markdown | 3.7 KB |
| scripts/aggregate-benchmark.js | script | 1.2 KB |
| scripts/generate-report.js | script | 1.4 KB |
| scripts/improve-description.js | script | 1.6 KB |
| scripts/index.js | script | 321 B |
| scripts/quick-validate.js | script | 1.9 KB |
| scripts/run-eval.js | script | 395 B |
| scripts/run-loop.js | script | 793 B |
| scripts/utils.js | script | 1.0 KB |
scripts/utils.js
View on GitHub'use strict'
/* eslint-disable @typescript-eslint/no-require-imports, @typescript-eslint/explicit-function-return-type */
const { readFile, writeFile } = require('node:fs/promises')
const readJson = async (path) => JSON.parse(await readFile(path, 'utf8'))
const writeJson = async (path, value) =>
writeFile(path, `${JSON.stringify(value, null, 2)}\n`, 'utf8')
const mean = (values) =>
values.length === 0 ? 0 : values.reduce((total, value) => total + value, 0) / values.length
const summarize = (values) => {
if (values.length === 0) return { mean: 0, stddev: 0, min: 0, max: 0 }
const average = mean(values)
return {
mean: average,
stddev: Math.sqrt(mean(values.map((value) => (value - average) ** 2))),
min: Math.min(...values),
max: Math.max(...values)
}
}
const escapeHtml = (value) =>
String(value)
.replaceAll('&', '&')
.replaceAll('<', '<')
.replaceAll('>', '>')
.replaceAll('"', '"')
.replaceAll("'", ''')
module.exports = { escapeHtml, mean, readJson, summarize, writeJson }
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |