AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Runtime Operator

skill-fengsihao23-eng-shen-hua-runtime-operator · by fengsihao23-eng

Shen-Hua V2 runtime operator for minimizing the gap to model-level long-task agents. Use when Codex needs real task queueing, durable event logs, memory indexing/search, resume prompt generation, verification gates, automation handoff prompts, or external-sync outbox files for long-running project work.

No reviews yet
0 installs
18 views
0.0% view→install

Install

$ agentstack add skill-fengsihao23-eng-shen-hua-runtime-operator

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fengsihao23-eng-shen-hua-runtime-operator)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Runtime Operator? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Runtime Operator

Runtime Operator adds a real, project-local runtime layer under .agent/. It does not create unlimited autonomy, but it makes long-task operation resumable, inspectable, queue-driven, and ready for Codex automations or external sync.

Trigger Conditions

Use this skill when:

  • The user asks to reduce gaps around automatic continuation, tool scheduling, external state sync, long-term memory retrieval, or task queues.
  • A long-running project needs queue state, event logs, memory search, or resume prompts.
  • $project-commander needs a harder runtime substrate than Markdown-only memory.
  • Codex automations, GitHub/CI/task-board sync, or MCP integration must be prepared.

Do Not Trigger

Do not use this skill when:

  • The task is a simple one-shot answer.
  • The user forbids creating .agent/state/ or scripts.
  • A project already mandates a different runtime/state system.

Runtime Files

Maintain:

  • .agent/state/tasks.jsonl: durable local task queue.
  • .agent/state/events.jsonl: append-only runtime event log.
  • .agent/state/memory-index.json: searchable local memory index.
  • .agent/state/sync-outbox.jsonl: external sync actions waiting for a target.
  • .agent/state/sync-export.json: latest sync snapshot.
  • .agent/state/sync-targets.json: sync target policy and requirements.
  • .agent/state/automation-profile.json: automation readiness settings.
  • .agent/resume-prompt.md: prompt for future Codex sessions or automations.
  • .agent/automation-prompt.md: prompt body for a Codex heartbeat/cron automation.
  • .agent/RUNTIME.md: human-readable runtime operating guide.
  • .agent/GATES.md: required verification gates.

Script

Use:

py -3 .\.agents\skills\persistent-memory\scripts\shenhua_runtime.py 

Key commands:

  • init: create runtime state files and prompts.
  • task add : add a task to the local queue.
  • task list: show queue status.
  • task update --status done --note "..."
  • event --type --message "..."
  • index: rebuild local memory index.
  • search : search indexed project memory.
  • resume: regenerate .agent/resume-prompt.md.
  • automation-prompt: regenerate .agent/automation-prompt.md.
  • sync-export: export queue/events/handoff for external sync.
  • gate: run runtime self-checks, skill validation, memory index, and resume generation.

Five Gap Minimization

  1. Automatic persistent running:
  • Generate an automation prompt and runtime queue.
  • Use Codex heartbeat/cron automation only after a user chooses cadence.
  1. Forced tool scheduling:
  • Encode gates in AGENTS.md, skills, and gate.
  • Use CI or external checks for hard enforcement when available.
  1. External state sync:
  • Export a machine-readable outbox and sync snapshot.
  • Actual remote writes require the chosen target, credentials, and MCP/CLI availability.
  1. Long-term memory retrieval:
  • Rebuild and query .agent/state/memory-index.json.
  • Upgrade to SQLite/vector/MCP memory only when project scale needs it.
  1. Platform-level task queue:
  • Use .agent/state/tasks.jsonl as the local queue.
  • Mirror it to GitHub Issues/Projects, Linear, or other systems when configured.

Required .agent/ Updates

Always update:

  • .agent/LOG.md
  • .agent/TASKS.md
  • .agent/HANDOFF.md

When runtime state changes, also update:

  • .agent/state/events.jsonl
  • .agent/state/tasks.jsonl when queue tasks change
  • .agent/resume-prompt.md after major state changes

Other Skills

  • Use $project-commander for choosing the next task.
  • Use $persistent-memory for memory hygiene.
  • Use $verification-loop after script or state changes.
  • Use $self-reviewer and $handoff-writer before ending.

Subagents

Runtime Operator does not require subagents. Subagents can consume tasks from tasks.jsonl only when the current Codex runtime and user authorization permit delegation.

Verification

Run:

py -3 .\.agents\skills\persistent-memory\scripts\shenhua_runtime.py gate

The gate must pass before claiming the runtime layer is ready.

Output Format

RUNTIME STATUS
Queue:
Events:
Memory index:
Automation readiness:
External sync:
Gate result:
Remaining hard limits:

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.