graph-engineering-workflow

agent
Security Audit
Warn
Health Warn
  • License — License: MIT
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Pass
  • Code scan — Scanned 1 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

A portable Agent Skill for dynamic graph-of-loops coding workflows.

README.md

Graph Engineering Workflow

Overview

A portable Agent Skill for Codex, Claude Code, and Hermes Agent. It turns complex coding work into bounded, evidence-backed agent graphs.

The skill identifies genuinely independent work, removes fake dependencies, verifies worker output against real evidence, and routes failures only to the owner of the affected artifact.

Install

Install for All Three Agents

The recommended installer is the open skills CLI:

npx --yes skills add Thanarak-q/graph-engineering-workflow \
  --global \
  --yes \
  --agent codex claude-code hermes-agent

This command installs graph-engineering-workflow for Codex, Claude Code, and Hermes Agent. Start a new agent session after installation.

To inspect the package without installing it:

npx --yes skills add Thanarak-q/graph-engineering-workflow --list

Install for One Agent

Replace the agent name with codex, claude-code, or hermes-agent:

npx --yes skills add Thanarak-q/graph-engineering-workflow \
  --global \
  --yes \
  --agent codex

Update or Remove

npx --yes skills update graph-engineering-workflow --global --yes
npx --yes skills remove graph-engineering-workflow --global --yes

Manual Install (macOS/Linux)

git clone https://github.com/Thanarak-q/graph-engineering-workflow.git
cd graph-engineering-workflow

Copy SKILL.md to the agent you use:

# Codex / universal Agent Skills location
mkdir -p "$HOME/.agents/skills/graph-engineering-workflow"
cp SKILL.md "$HOME/.agents/skills/graph-engineering-workflow/SKILL.md"

# Claude Code
mkdir -p "$HOME/.claude/skills/graph-engineering-workflow"
cp SKILL.md "$HOME/.claude/skills/graph-engineering-workflow/SKILL.md"

# Hermes Agent
mkdir -p "${HERMES_HOME:-$HOME/.hermes}/skills/graph-engineering-workflow"
cp SKILL.md "${HERMES_HOME:-$HOME/.hermes}/skills/graph-engineering-workflow/SKILL.md"

What It Does

Use this skill for feature work, migrations, repository audits, security reviews, or research when the task contains independent work.

It does not create a large agent swarm by default. A small task with real sequential dependencies stays a single-agent loop.

The Graph Architect applies one test to every proposed edge:

What exact result crosses this edge, and does the downstream job need it?

If the answer is not concrete, the edge is removed.

Example

A user asks:

Implement email/password login across the API and web UI.

The agent first clarifies missing requirements, then runs a read-only Codebase Investigator to map project rules, affected files, tests, interfaces, and ownership boundaries.

The Graph Architect decides whether external research is necessary. If the repository already answers the question, research is skipped. If backend, frontend, and test work have separate ownership boundaries, they can run independently. Otherwise, the work stays in one implementation loop.

After integration, the graph selects audits that match the change. If a privacy audit finds a sensitive value in a log, the Repair Router sends the finding only to the owner of that logging code, then reruns the affected privacy and regression checks.

Workflow

flowchart TD
    U[User request] --> C[Clarify missing requirements]
    C --> CI[Codebase Investigator, read-only]
    CI --> G[Graph Architect and fake-edge test]

    G -->|external evidence needed| R1[API or documentation research]
    G -->|external evidence needed| R2[Dependency research]
    G -->|external evidence needed| R3[Security or policy research]

    R1 --> V1[Fresh verifier]
    R2 --> V2[Fresh verifier]
    R3 --> V3[Fresh verifier]

    V1 --> K[Verified context]
    V2 --> K
    V3 --> K
    G -->|repository evidence is enough| K

    K --> D{Independent implementation units?}
    D -->|yes| I1[Implementation worker A]
    D -->|yes| I2[Implementation worker B]
    D -->|yes| I3[Implementation worker C]
    D -->|no| S[Single implementation loop]

    I1 --> T1[Local anchor]
    I2 --> T2[Local anchor]
    I3 --> T3[Local anchor]
    S --> TS[Local anchor]

    T1 --> M[Isolated merge and integration]
    T2 --> M
    T3 --> M
    TS --> M

    M -->|audit justified| A1[Security audit]
    M -->|audit justified| A2[Privacy audit]
    M -->|audit justified| A3[Functional or regression test]
    M -->|audit justified| A4[Input or edge-case test]
    M -->|no additional audit justified| F[Final verification]

    A1 --> AM[Audit merge]
    A2 --> AM
    A3 --> AM
    A4 --> AM

    AM -->|failure| RR[Repair Router]
    RR --> O[Affected owner only]
    O --> RT[Repair and rerun affected anchors]
    RT --> M

    AM -->|pass| F
    F --> H[Report and human gate]

This is a capability map, not a fixed pipeline. The graph removes research, implementation workers, audits, and edges that the task does not justify.

How It Works

  1. Clarify only what the request leaves unclear.
  2. Investigate read-only before changing a repository.
  3. Build the graph from real dependencies and explicit artifact ownership.
  4. Fan out selectively when research, implementation, or audit work is independent.
  5. Verify in fresh context using source evidence, tests, builds, scanners, API behavior, or another real anchor.
  6. Isolate concurrent writers with worktrees, branches, containers, or equivalent boundaries.
  7. Merge with one owner and preserve conflicts instead of silently choosing a result.
  8. Repair narrowly and rerun only affected checks plus required regression checks.
  9. Cap execution with explicit worker, concurrency, wave, retry, time, and budget limits.
  10. Report evidence and stop at a human gate before irreversible actions.

When to Use It

Use a graph when independent work exists, separate verification matters, or several audit dimensions can inspect the same integrated artifact.

Use a single-agent loop when the task is small, one area owns the work, or each step genuinely needs the previous result.

What You Get

For a non-trivial task, the agent should produce:

  • a compact graph plan with real dependencies and ownership;
  • explicit worker, concurrency, retry, time, and budget limits;
  • verified findings with evidence;
  • changed files and commands actually run;
  • selected audit results;
  • narrow repair routes and unresolved risks;
  • a human gate before commit, push, deploy, publish, deletion, payment, or an external send.

License

MIT

Reviews (0)

No results found