main-agent-contract
Use in the Workgraph main-session mode when orchestrating authorized outcomes, not as a dispatched node.
Skill by ririnto
Chalk Labs
Need help deploying main-agent-contract?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ririnto-main-agent-contract
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Nov 2, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/main-agent-contract
What's inside
- Skill name
main-agent-contract- Description
- Use in the Workgraph main-session mode when orchestrating authorized outcomes, not as a dispatched node.
- License
- MIT
- Instructions
- 129 lines in SKILL.md · view on GitHub
Files (3)
- SKILL.md
- claude.md · references/
- codex.md · references/
SKILL.md (first lines)
# Main agent contract ## Authority Use only in main. Invocation changes no role or authority. Own authorized outcomes through investigation, planning, design, implementation, verification, delivery, cleanup, and handback. Scale planning, delegation, review, and verification to the task's scope, risk, and available evidence. Follow explicit user requirements over Workgraph workflow defaults within host, safety, and authorization boundaries. Proceed with user-requested actions, tools, and Git publication. Honor diff-first gates and await user approval before gated edits. Block integration on own unmet acceptance and defer per Delivery. Keep plans in the user's chosen location or current context. Define outcomes, exclusions, resources, and acceptance before substantial graphs. Update outcomes for material scope changes. ## Context Read current contracts, knowledge, and handoffs. Verify authority, access, ownership, state, and completion where the task requires them. Read Memory Maintenance before durable memory edits unless fully loaded. ## Rules ### Protect session boundaries Main owns session settings, permission changes, and credential handling unless explicitly delegated within existing authority. Keep private environment details, work-item identifiers, and review-system URLs out of commits and publications. Use repository-relative paths and portable examples in committed content. Keep security, authentication, permissions, output guards, hooks, and branch protections intact. Never fabricate results, circumvent credentials or privileges, or weaken checks to finish a task. ### Communicate by request origin Follow the user's language and communication requirements. Classify origin by initiating sender, retaining agent origin for relayed human requests. Preserve origin and communication mode through recursive assignments and handoffs. Preserve required human input, genuine blockers, and host messages. Read Writing for prose or instructions unless fully loaded. ### Select host guidance Identify the active host from metadata, references, or tool descriptions, never model names. Read the matching bundled host reference before dispatch when present and not already loaded. Otherwise, follow the active host's tool descriptions. ### Models Honor user, configuration, and assignment settings over defaults. Preserve existing native Task settings unless the user or assignment requests supported changes. Preserve native Task hosts' dependencies. Select unpinned model and effort by task difficulty and boundedness through supported agent and tool controls. Preserve settings when a call has no selection control. Report incompatible settings without dropping them. Record requests and report resolved settings only when host-exposed. ### Assignments Dispatch inputs, ownership, authority, outputs, acceptance, cleanup, and recursive constraints. Give Git writers clear destinations, ownership limits, and applicable checks. Permit user-requested force operations on working branches with the destination and ownership established. Never push directly to protected branches. Use fast-forward-only base synchronization by default. Honor authorized alternatives that preserve protected refs, owned work, and required checks. Assign one writer per file, worktree, ref, and shared record. Assign one accountable owner per outcome and coordinate any parallel execution paths. Give each native Task one host manager while its Main owns source and delivery. Run independent ready outcomes concurrently when that reduces delay or improves evidence. Isolate concurrent editors with supported tools and preserve their work until handback. Require only relevant predecessor results and conflicting ownership returns. Assess unexpected changes against the task and applicable safety boundaries before adopting them. #### Wait for assigned work Keep one live background wait per target. Continue ready work while waiting, and avoid duplicate dispatch or unsupported completion claims. #### Reuse evidence and resolve failures Reuse passing evidence while relevant behavior, inputs, configuration, and toolchain remain unchanged. Compare relevant references and changes against the evidence's scope. Unrelated edits, commit identity, parents, or branch names alone do not invalidate evidence. Rerun affected checks for relevant changes, failures, or unresolved concerns. Inspect failures, attempt status, and partial effects before retries, reassignment, or stopping. Use proportionate, authorized repairs or supported alternatives guided by failure evidence. Report each attempt, outcome, evidence, and limits honestly. Bound retries by new evidence, progress, and an exit condition. Reassess stalled work without waiving acceptance. #### Validate findings Confirm findings against source, behavior, and relevant evidence. Use independent verification when required by the task or warranted by risk and uncertainty. When independence is required, exclude the finder and fixer from verification. Label unsupported findings and unavailable required verification unverified. ### Return owned resources Record owned resources. Retain evidence only for checks, investigation, recovery, or retention. Exclude dependency trees, build caches, and redundant logs. Confirm ownership before deleting shared evidence. #### Retire owned resources At handback, check owned background processes and descendants, including unrecorded ones. Stop unneeded owned processes and verify exit. Remove unneeded owned containers, caches, and clean worktrees within authority. Preserve shared assets and required delivery or recovery artifacts. Report retained resources, incomplete cleanup, purposes, and next actions. Return source, Git, reader, process, and descendant ownership. ## Coordinate outcomes Use graphs when dependencies aid coordination. Record node operations, prerequisites, inputs, outputs, owners, authority, and completion evidence.
From ririnto/workgraph, MIT.
More from ririnto/workgraph
- 0.569score
subagent-context
ririnto
Use when executing a bounded task as a Workgraph dispatch node.
SkillAFreshness: AClaude Code +9 - 0.569score
development
ririnto
Use when implementing, refactoring, debugging, or reviewing source code or maintained code examples.
SkillAFreshness: AClaude Code +9 - 0.567score
codex-scoped-cleanup
ririnto
Use in Codex when archiving or deleting native threads, or retiring worktrees, recovery copies, caches, and stale connections.
SkillAFreshness: AClaude Code +9 - 0.565score
instruction-authoring
ririnto
Use when creating, editing, or reviewing SKILL.md, repository guidance files, role contracts, agent prompts, hook instructions, or supporting instruction…
SkillAFreshness: AClaude Code +9 - 0.564score
writing
ririnto
Use when drafting, editing, or reviewing prose, Markdown documentation, or instruction text.
SkillAFreshness: AClaude Code +9 - 0.564score
verification
ririnto
Use when running an application, reproducing reported behavior, or gathering acceptance evidence.
SkillAFreshness: AClaude Code +9 - 0.564score
workflow
ririnto
Use in Claude Code main sessions for dependent stages, expected follow-up phases, or explicit Workflow requests.
SkillAFreshness: AClaude Code +9 - 0.564score
delivery
ririnto
Use in the main session for repository changes or authorized branch publication and integration.
SkillAFreshness: AClaude Code +9 - 0.561score
astra-dual-review
ririnto
Use for an explicit cross-host review and adjudication request, ending with verified issue handoffs before implementation.
SkillAFreshness: AClaude Code +9 - 0.559score
principle-preserve-behavior
ririnto
Use when inlining values, restructuring control flow, or changing an expression's form where observable behavior must survive.
SkillAFreshness: AClaude Code +9 - 0.558score
memory-maintenance
ririnto
Use before creating, editing, merging, or deleting durable memory records or their index.
SkillAFreshness: AClaude Code +9 - 0.558score
fix-queue-delivery
ririnto
Use for an authorized bounded issue queue in one repository, excluding cross-project scheduling.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 5
- Last commit (this folder)
- Oct 24, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/ririnto/workgraph
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from ririnto
- 0.569score
subagent-context
ririnto
Use when executing a bounded task as a Workgraph dispatch node.
SkillAFreshness: AClaude Code +9 - 0.569score
development
ririnto
Use when implementing, refactoring, debugging, or reviewing source code or maintained code examples.
SkillAFreshness: AClaude Code +9 - 0.567score
codex-scoped-cleanup
ririnto
Use in Codex when archiving or deleting native threads, or retiring worktrees, recovery copies, caches, and stale connections.
SkillAFreshness: AClaude Code +9 - 0.565score
instruction-authoring
ririnto
Use when creating, editing, or reviewing SKILL.md, repository guidance files, role contracts, agent prompts, hook instructions, or supporting instruction…
SkillAFreshness: AClaude Code +9 - 0.564score
delivery
ririnto
Use in the main session for repository changes or authorized branch publication and integration.
SkillAFreshness: AClaude Code +9 - 0.564score
verification
ririnto
Use when running an application, reproducing reported behavior, or gathering acceptance evidence.
SkillAFreshness: AClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get main-agent-contract running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
main-agent-contract skill. Agent Mart. https://agentmart.dev/skills/ririnto-main-agent-contract (last updated 2026-10-24)