Skip to content
Back to skills

Adr

ASecurity

GOAL.md H2 (adopted 2026-09-26) asks for one root agent that the Human Owner talks to at the Research Workspace root, which hands Research Tasks to agents inside projects and reports from project files. The root agent is therefore not a new program. It is any code agent session opened at the repository root that follows the [`project-dispatch`](../../research-skills-hub/open-paper-skills/project-dispatch/SKILL.md) skill. That skill has the root agent do five things: - brief a task from a temp...

  • 2 stars
  • 0 votes
  • 1 copy
  • 5 views
  • Added October 3, 2026
ai-agentsgoshellgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add pengqianhan/AI-Human-Research-OS --skill adr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Adr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pengqianhan-adr/badge)](https://www.skillsdirectory.com/skills/pengqianhan-adr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
status: accepted
---

# Build the root agent as a skill over os-harness

GOAL.md H2 (adopted 2026-09-26) asks for one root agent that the Human Owner talks
to at the Research Workspace root, which hands Research Tasks to agents inside
projects and reports from project files.

The root agent is therefore not a new program. It is any code agent session
opened at the repository root that follows the
[`project-dispatch`](../../research-skills-hub/open-paper-skills/project-dispatch/SKILL.md)
skill. That skill has the root agent do five things:

- brief a task from a template;
- dispatch it with `os-harness run --detach`;
- track it with `os-harness sessions` and `show`;
- verify the result itself;
- leave acceptance to the Human Owner.

[`os-harness`](../../os-harness/README.md) gained what this needs:

- **Background turns.** `--detach` starts a worker that lives only for one
  turn. On Windows it leaves the caller's job object and opens no console
  windows.
- **Session status.** Each session reads as `running`, `ok`, `failed`, or
  `stopped`. A turn's prompt record carries the worker's process id, so a
  worker that died mid-turn shows as `stopped`.
- **`stop`.** Ends a running turn together with its CLI process.

## Considered options

- **A dedicated root-agent loop**, calling a model through the harness with its
  own tools. It would duplicate what Claude Code and Codex already do well:
  chat, tool use, and reading files.
- **Harness-specific background features**, such as Claude Code's background
  shell. These were rejected: the OS stays usable from any agent
  (human-cognition entry cog-20260724-001), and Codex has no equivalent.
- **Task contract files** (`Tasks/<id>/`) for every dispatch. These were
  deferred. The brief travels in the dispatch prompt. The durable record is the
  project's Progress Log and README, written by the project agent. Session
  traces stay local and ignored by Git.

## Consequences

- **Write Lease.** Each project has at most one running session. The root agent
  checks this before dispatching, and `resume` refuses a running session.
- **Who accepts.** The root agent verifies the run's validation commands itself
  before reporting. Acceptance stays with the Human Owner.
- **Out of scope.** Unattended queueing and parallel scheduling remain behind
  the GOAL.md M4 gate.

Files in this skill

  • 0001-pi-sdk-autonomous-mvp.md2.5 KB
  • 0002-pi-coding-agent-workflow-mvp.md2.8 KB
  • 0003-subscription-cli-harness.md2.8 KB
  • 0004-root-agent-as-skill.md2.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.