GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - githubnext/rig: Cross Agent Dynamic Workflows as a Skill

BranchesTags
Open more actions menu

Latest commit

 

History

366 Commits
366 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
docs
docs
 
 
packages/source-map-compat
packages/source-map-compat
 
 
scripts
scripts
 
 
skills/rig
skills/rig
 
 
src
src
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Rig

Small TypeScript agents with typed inputs, validated outputs, and composable workflows. Write a program, hand it to the Rig skill, or run it with the launcher. Rig uses the Copilot SDK by default and also supports Anthropic, Codex, DeepSeek Harness, Gemini, and Pi engines.

Get started

Install the skill for your coding agent (GitHub CLI 2.90+):

gh skill install githubnext/rig rig

To run programs locally, use Node.js 24+ and install the dependencies from a checkout:

git clone https://github.com/githubnext/rig.git
cd rig
npm ci

Save this as review.ts:

import { agent, s } from "rig";

// Agent role: assess a proposed change.
export default agent({
  model: "small",
  input: s.string,
  output: s.object({
    summary: s.string,
    risk: s.enum("low", "medium", "high"),
  }),
  instructions: "Review the proposed change. Summarize it and assess its risk.",
});

With an installed, authenticated Copilot CLI, run:

printf '%s\n' 'Replace the login form' | node skills/rig/run.ts review.ts --server

The launcher reads stdin, runs the exported agent, and prints the validated result. To check without making a model call:

node skills/rig/run.ts review.ts --typecheck

gh skill install copies the skill but does not install SDK dependencies. For an installed skill, find its directory with gh skill list and substitute it for skills/rig in the commands above. Without --server, Rig selects an engine from your environment or uses the default Copilot endpoint; see running programs for launch options.

In agentic workflows

Pin the Rig skill and shared launcher template to full commit SHAs. The template provides Node.js 24 and a narrow printf/node allowlist; the consuming workflow must enable the Copilot SDK, grant copilot-requests: write, and provision dependencies. See the workflow setup guide for the exact configuration and credential handoff.

The Monthly PR Clusters workflow runs daily at 09:00 UTC or manually, analyzing PRs merged in the trailing calendar month across all base branches. Each execution generates a new Rig clustering strategy after reviewing earlier experiments on the memory/pr-cluster-rigs repo-memory branch. It creates an issue with the three largest clusters and the complete generated Rig source, preserving previous reports and successful or failed rigs for future comparisons. The workflow prompt specifies behavior, not a fixed Rig implementation.

Explore

  • Skill guide — the canonical program and construction rules.
  • Agent API and prompt intents — schemas, inputs, and workspace context.
  • Dynamic workflows — deterministic orchestration.
  • Sample catalog — agent and workflow patterns bucketed by API, topic, and task family.

About

Cross Agent Dynamic Workflows as a Skill

Topics

agent-skillagent-skillsclaude-codecodexcodex-skillcopilot-clicopilot-skillsharness

Resources

Readme
MIT license
Activity
Custom properties

Stars

15 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.