code-yeongyu/oh-my-openagent / packages/shared-skills/skills/ulw-research
ulw-research
UnverifiedRuns maximum-saturation research with a cooperating team, claim-graph gating, and a cited, QA'd deliverable. Use when the user explicitly asks for research or a deep investigation, including any 'ulw' research wording.
scripts/fidelity-csv.mjs
View on GitHub// Read fact export CSV records, including quoted commas, escaped quotes and newlines.
import { existsSync, readFileSync } from "node:fs"
export function readCsv(path) {
if (!existsSync(path)) return null
const text = readFileSync(path, "utf8")
const records = []
let cells = []
let cell = ""
let quoted = false
for (let i = 0; i <= text.length; i++) {
const char = text[i]
if (char === '"') {
if (quoted && text[i + 1] === '"') {
cell += '"'
i++
} else quoted = !quoted
} else if (!quoted && (char === "," || char === "\n" || char === undefined)) {
cells.push(cell.trim())
cell = ""
if (char !== ",") {
if (cells.some((value) => value !== "")) records.push(cells)
cells = []
}
} else if (char !== undefined) cell += char
}
if (quoted) return null
const [head = [], ...rows] = records
const [id, value, unit] = ["fact_id", "plot_value", "unit"].map((name) => head.indexOf(name))
if (id < 0 || value < 0 || unit < 0 || rows.length === 0) return null
return rows.map((c) => ({ fact_id: c[id], plot_value: c[value], unit: c[unit] ?? "" }))
}
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: 198k | Updated | Claude CodeCodex | Verified | Install |