Agent skill

DAG Library

by code-yeongyu in code-yeongyu/oh-my-openagent

Stores a DAG definition once and re-runs it by name, with key rotation controlling whether each run is fresh or reuses an earlier result.

Custom licenceAuto-check passedAgent Workflows

Install DAG Library

skills CLI
$ npx skills add code-yeongyu/oh-my-openagent --skill dag-library -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install code-yeongyu/oh-my-openagent dag-library --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/code-yeongyu/oh-my-openagent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/omo-senpi/skills/dag-library .claude/skills/dag-library && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dag-library
GitHub stars
70k
Token cost
~1.1k tokens
SKILL.md length
408 words
Files
1
Skills in repo
44
Repo updated
First seen
Licence
Custom licence

At a glance

Stores a DAG definition once and re-runs it by name, with key rotation controlling whether each run is fresh or reuses an earlier result.

  • Works in 3 steps: $OMO_DAG_LIBRARY (multiple dirs,… → $PWD/.omo/dags → $HOME/.omo/dags
  • Saving a DAG definition so it can be run again by name
  • SKILL.md covers The shape, Running it — JS eval cell, two…, Key rotation — the one rule… and Python cells, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

A DAG definition is stored once and re-run by name instead of being pasted into every run, which suits graphs worth keeping, such as a multi-agent graph scheduled repeatedly. A stored definition is a plain JSON file named after the graph in a library folder, found through the OMO_DAG_LIBRARY variable first, then .omo/dags in the working directory, then .omo/dags in the home directory.

Runs go through a library.js module: load returns the filled definition and start loads and starts it in one call, returning a handle with the run id, a done method and cancel. Because the engine reuses a run when the same key and graph repeat, the library rotates the stored key with a timestamp suffix on each start, so every call is fresh. An explicit suffix makes reruns idempotent for that suffix, an empty suffix keeps full idempotency, and string values accept key and date placeholders filled at load time. Authoring a new graph is left to the mass-ulw skill.

When your agent uses it

  • Saving a DAG definition so it can be run again by name
  • Running a stored multi-agent graph without re-pasting it
  • Scheduling the same graph on a recurring basis
  • Controlling whether a rerun reuses an earlier result or starts fresh

Example prompts

  • “Save this DAG as nightly-audit so I can rerun it later.”
  • “Run the saved nightly-audit graph as a fresh run.”
  • “Rerun yesterday's report graph with a date suffix so it reuses the existing run.”

Requirements

  • The OmO DAG extension that publishes library.js

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. $OMO_DAG_LIBRARY (multiple dirs, separated by : — or by ; on Windows, so drive-letter paths survive)
  2. $PWD/.omo/dags
  3. $HOME/.omo/dags

What it can do on your machine

Read from SKILL.md and the folder at commit cbd7dd2. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json, javascript and python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

DAG Library loads about 1.1k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 408 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 408 words (~1,063 tokens).

“Use this skill when the user wants to KEEP a dag definition and run it again later — the graph is an asset, not a one-off. For authoring a brand-new graph, read mass-ulw first; this skill covers the storage-and-rerun half.”

— opening of SKILL.md by code-yeongyu, Custom licence
name
dag-library
metadata.short-description
Store and re-run named dag definitions

Read the full SKILL.md on GitHub

Files

Just SKILL.md in packages/omo-senpi/skills/dag-library of code-yeongyu/oh-my-openagent.

Open the folder on GitHubat commit cbd7dd2

Compare with similar skills

DAG Library next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

DAG Library compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
DAG Library this skillcode-yeongyu/oh-my-openagent70k—~1.1kAutomated safety check: PassCustom licence
Paseo Agent Orchestration Referencegetpaseo/paseo20k—~2.1kAutomated safety check: PassCustom licence
MetaBot CLIxvirobotics/metabot990—~573Automated safety check: PassMIT
Agent Kanban Maintainersaltbo/agent-kanban485—~1.6kAutomated safety check: PassCustom licence
Orca CLIstablyai/orca87k2 repos~593Automated safety check: PassMIT
Paseo Advisor Second Opiniongetpaseo/paseo20k1 repos~756Automated safety check: PassCustom licence

Similar skills

  • Reference for managing Paseo's projects, workspaces, workspace scripts and agents through its MCP tools or CLI, across a local or remote daemon.

    20k GitHub stars~2.1k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • MetaBot CLI

    xvirobotics/metabot

    Documents the unified `metabot` CLI for personal memory, the skill hub, durable agent messaging, the agent registry, T5T status and scheduling.

    990 GitHub stars~573 tokensUpdated 22 days ago
    Agent WorkflowsAuto-check passed
  • Agent Kanban Maintainer

    saltbo/agent-kanban

    Acts as a manager in Agent Kanban: reviews the board on scheduled or heartbeat runs, creates and assigns tasks to worker agents, and reviews their submissions.

    485 GitHub stars~1.6k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Orca CLI

    stablyai/orca

    Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…

    87k GitHub starsUsed in 2 repos~593 tokens
    Agent WorkflowsAuto-check passed
  • Launches one separate agent through Paseo to give a second opinion on the current task, with a self-contained briefing and no permission to edit files.

    20k GitHub starsUsed in 1 repo~756 tokens
    Agent WorkflowsAuto-check passed
  • O2 Review Loop

    openobserve/openobserve

    Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.

    22k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from code-yeongyu/oh-my-openagent

All 44 skills in this repo
  • ast-grep Structural Search

    code-yeongyu/oh-my-openagent

    Searches and rewrites code by syntax-tree shape across 25 languages with ast-grep, for codemods, structural queries and YAML lint rules, using a Python wrapper script.

    70k GitHub stars~3.3k tokensUpdated today
    Auto-check passed
  • Browser Control with Omowright

    code-yeongyu/oh-my-openagent

    Drives a real browser through the omowright library, either the user's own signed-in browser or a separate browser the code launches, for forms, QA, screenshots and scraping.

    70k GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Codex Plugin QA

    code-yeongyu/oh-my-openagent

    Tests the omo Codex plugin in an isolated CODEX_HOME with a local mock model, proving hooks fired through app-server notifications without touching ~/.codex.

    70k GitHub stars~1.9k tokensUpdated today
    Auto-check passed
  • Coding Agent Session Finder

    code-yeongyu/oh-my-openagent

    Finds, reads and reconstructs past coding-agent sessions across Codex, Claude, OpenCode, Senpi and many other local agent logs.

    70k GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • LSP Setup

    code-yeongyu/oh-my-openagent

    Detects which languages a project uses, installs the matching language server, writes its config and checks it with a real call so diagnostics and go-to-definition work.

    70k GitHub stars~1.4k tokensUpdated today
    Auto-check: notes
  • OpenCode QA Toolkit

    code-yeongyu/oh-my-openagent

    Tests the opencode coding agent itself: its CLI, server, plugin hooks and events, the terminal UI under tmux, and its SQLite session database, using tested helper scripts.

    70k GitHub stars~2.9k tokensUpdated today
    Auto-check passed

Categories

Questions about DAG Library

What does DAG Library do?

Stores a DAG definition once and re-runs it by name, with key rotation controlling whether each run is fresh or reuses an earlier result. A DAG definition is stored once and re-run by name instead of being pasted into every run, which suits graphs worth keeping, such as a multi-agent graph scheduled repeatedly.omo/dags in the home directory.

When should I use DAG Library?

DAG Library fits situations like: saving a DAG definition so it can be run again by name; running a stored multi-agent graph without re-pasting it; scheduling the same graph on a recurring basis; controlling whether a rerun reuses an earlier result or starts fresh.

How do I install DAG Library in Claude Code?

Run `npx skills add code-yeongyu/oh-my-openagent --skill dag-library -a claude-code`. Or copy the skill folder (packages/omo-senpi/skills/dag-library in code-yeongyu/oh-my-openagent) into .claude/skills/dag-library in your project. Claude Code loads it when a task matches its description.

How do I install DAG Library in Codex?

Run `npx skills add code-yeongyu/oh-my-openagent --skill dag-library -a codex`. Or copy the skill folder (packages/omo-senpi/skills/dag-library in code-yeongyu/oh-my-openagent) into .agents/skills/dag-library in your project. Codex loads it when a task matches its description.

Can I use DAG Library in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add code-yeongyu/oh-my-openagent --skill dag-library -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dag-library, .gemini/skills/dag-library, .github/skills/dag-library and .opencode/skills/dag-library in your project.

What does DAG Library need to run?

SKILL.md names no scripts, command-line tools or credentials: DAG Library is instructions for the agent only. Our summary lists: The OmO DAG extension that publishes library.js.

Does DAG Library access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is DAG Library safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does DAG Library use?

DAG Library has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does DAG Library use?

About 1.1k tokens (SKILL.md is roughly 4.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to DAG Library?

Skills that share tags, products or a category with DAG Library: Paseo Agent Orchestration Reference (getpaseo/paseo, 20k stars), MetaBot CLI (xvirobotics/metabot, 990 stars), Agent Kanban Maintainer (saltbo/agent-kanban, 485 stars) and Orca CLI (stablyai/orca, 87k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains DAG Library?

code-yeongyu (a GitHub user) maintains it in code-yeongyu/oh-my-openagent, which has 69,850 GitHub stars. The repository holds 44 skills in this directory. The repository was last updated on October 7, 2026.

Source: code-yeongyu/oh-my-openagent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.