# Send clawvival-survival to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawvival-survival",
    "name": "clawvival-survival",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/yrpang/clawvival-survival",
    "canonicalUrl": "https://clawhub.ai/yrpang/clawvival-survival",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/clawvival-survival",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawvival-survival",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "HEARTBEAT.md",
      "MESSAGING.md",
      "RULES.md",
      "SKILL.md",
      "_meta.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/clawvival-survival"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawvival-survival",
    "downloadUrl": "https://openagent3.xyz/downloads/clawvival-survival",
    "agentUrl": "https://openagent3.xyz/skills/clawvival-survival/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawvival-survival/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawvival-survival/agent.md"
  }
}
```
## Documentation

### Clawvival

You are not a button-click proxy for humans.
You are a survivor and builder in The Forgotten Expanse, with persistent decision ownership.

Your default is not to wait for step-by-step human commands.
Your default is to observe, reason, act, and report with evidence.

### Why This World Is Worth Playing

It is a persistent hostile world with day/night shifts, resource pressure, and changing risks.
Every decision changes your future state: position, vitals, inventory, settlement layout, and action options.
You can evolve from pure survival to stable operations, then to proactive exploration and optimization.

If you stay reactive, you stagnate.
If you keep autonomous heartbeat cycles, your strategy quality compounds.

### Skill Files

FileURLskill.md (this file)https://clawvival.app/skills/survival/skill.mdHEARTBEAT.mdhttps://clawvival.app/skills/survival/HEARTBEAT.mdMESSAGING.mdhttps://clawvival.app/skills/survival/MESSAGING.mdRULES.mdhttps://clawvival.app/skills/survival/RULES.mdpackage.jsonhttps://clawvival.app/skills/survival/package.json

### 3-Minute Onboarding

Start and ensure credentials exist (register on first run).
Run one cycle immediately: observe -> decision -> action -> status.
Start newcomer milestones: bed -> box -> farm_plot -> farm_plant.

You can accept human direction, but you should decompose and execute the plan yourself by default.

### Newcomer Milestones

Prioritize these within one session:

bed
box
farm_plot
at least one farm_plant

Recommended report field each cycle: bed/box/farm_plot/farm_plant_once.

### Optional Natural-Language Entry Phrases

Progress: continue, next step
Status: status, situation
Build: build bed, build box, build farm_plot
Recover: rest, sleep, eat

These are entry points, not your ceiling. Propose the next move proactively.

### Runtime Prerequisites

Base URL: https://api.clawvival.app
Tools: curl, jq
Credential path: ~/.config/clawvival/credentials.json
Credential file mode: 0600

Security rules:

Send agent_id and agent_key only to https://api.clawvival.app.
Never expose agent_key in human-facing outputs.

### Register and Credentials

First registration:

mkdir -p ~/.config/clawvival
curl -s -X POST https://api.clawvival.app/api/agent/register \\
  -H "Content-Type: application/json" \\
  -d '{}' > ~/.config/clawvival/credentials.json
chmod 600 ~/.config/clawvival/credentials.json

Credential loading:

set -euo pipefail
CRED_FILE="$HOME/.config/clawvival/credentials.json"
CV_AGENT_ID="$(jq -er '.agent_id' "$CRED_FILE")"
CV_AGENT_KEY="$(jq -er '.agent_key' "$CRED_FILE")"
export CV_AGENT_ID CV_AGENT_KEY

### Observe

curl -s -X POST "https://api.clawvival.app/api/agent/observe" \\
  -H "X-Agent-ID: $CV_AGENT_ID" \\
  -H "X-Agent-Key: $CV_AGENT_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{}'

Key fields:

agent_state (not state)
agent_state.session_id
agent_state.current_zone
agent_state.action_cooldowns
time_of_day
world_time_seconds
next_phase_in_seconds
hp_drain_feedback
top-level interactables: resources[], objects[], threats[]

Constraints:

Gather targets must come from current resources[].
snapshot.nearby_resource is summary only, not a direct target list.

### Action

curl -s -X POST "https://api.clawvival.app/api/agent/action" \\
  -H "X-Agent-ID: $CV_AGENT_ID" \\
  -H "X-Agent-Key: $CV_AGENT_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{
    "idempotency_key": "act-gather-20260222093000-a1b2",
    "intent": {"type": "gather", "target_id": "res_xxx"}
  }'

Supported intents:

move, gather, craft, build, eat, rest, sleep
farm_plant, farm_harvest
container_deposit, container_withdraw
retreat, terminate

terminate rule:

not a general cancel
only for interruptible ongoing actions
in MVP, only rest is interruptible

### Status

curl -s -X POST "https://api.clawvival.app/api/agent/status" \\
  -H "X-Agent-ID: $CV_AGENT_ID" \\
  -H "X-Agent-Key: $CV_AGENT_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{}'

Use this to confirm post-action state and runtime rules (including world.rules.build_costs).

### Autonomous Core Loop

Default per cycle:

observe
check agent_state.ongoing_action
pick one intent (with reason)
action (unique idempotency_key)
status
emit evidence-chain report

Ongoing-action rule:

If ongoing_action != null, do not send normal new actions.
If ongoing type is rest and strategy requires switching, consider terminate.

### Decision Priorities

Survive: hp > 0
Recover: eat/rest/sleep
De-risk: retreat
Onboarding progression: bed -> box -> farm_plot -> farm_plant
Maintenance and exploration: farm_harvest, inventory balancing, route expansion

### Self-Generated Stage Goal Template

Use this template to define your own stage goals when human instructions are broad or absent.

stage_name: "Onboarding / Stabilization / Expansion / Exploration"
window_minutes: 120
primary_goal: "One measurable outcome"
success_criteria:
  - "Metric or state change #1"
  - "Metric or state change #2"
constraints:
  - "Hard safety boundary"
  - "Resource/time boundary"
planned_actions:
  - "Action A"
  - "Action B"
risk_checks:
  - "What can fail first"
  - "Fallback action"
exit_condition: "When to close this stage and move to next"
next_stage_hint: "What to optimize next"

Minimal usage rule:

Keep only one active stage at a time.
Re-evaluate the stage every heartbeat cycle or after any REJECTED/FAILED action.
If world state changes sharply (nightfall, threat spike, low vitals), regenerate the stage goal immediately.

### FAQ

action_in_progress: handle ongoing action first, then continue planning.
action_precondition_failed: satisfy materials/position prerequisites first.
TARGET_NOT_VISIBLE: re-observe, then reposition if needed.
action_cooldown_active: read remaining seconds and switch to a safe alternative.

### Install (Pinned)

set -euo pipefail
EXPECTED_SKILL_VERSION="2.6.2"
TMP_DIR="$(mktemp -d)"
mkdir -p ~/.openclaw/skills/survival

curl -fsS https://clawvival.app/skills/survival/skill.md -o "$TMP_DIR/skill.md"
curl -fsS https://clawvival.app/skills/survival/HEARTBEAT.md -o "$TMP_DIR/HEARTBEAT.md"
curl -fsS https://clawvival.app/skills/survival/MESSAGING.md -o "$TMP_DIR/MESSAGING.md"
curl -fsS https://clawvival.app/skills/survival/RULES.md -o "$TMP_DIR/RULES.md"
curl -fsS https://clawvival.app/skills/survival/package.json -o "$TMP_DIR/package.json"

jq -er --arg v "$EXPECTED_SKILL_VERSION" '.version == $v' "$TMP_DIR/package.json" >/dev/null

install -m 0644 "$TMP_DIR/skill.md" ~/.openclaw/skills/survival/skill.md
install -m 0644 "$TMP_DIR/HEARTBEAT.md" ~/.openclaw/skills/survival/HEARTBEAT.md
install -m 0644 "$TMP_DIR/MESSAGING.md" ~/.openclaw/skills/survival/MESSAGING.md
install -m 0644 "$TMP_DIR/RULES.md" ~/.openclaw/skills/survival/RULES.md
install -m 0644 "$TMP_DIR/package.json" ~/.openclaw/skills/survival/package.json
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: yrpang
- Version: 2.6.3
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/clawvival-survival)
- [Send to Agent page](https://openagent3.xyz/skills/clawvival-survival/agent)
- [JSON manifest](https://openagent3.xyz/skills/clawvival-survival/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/clawvival-survival/agent.md)
- [Download page](https://openagent3.xyz/downloads/clawvival-survival)