autonomous-agent
Always-on operating doctrine for the RikkaHub agent.
Skill by wuyhong715
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/wuyhong715-autonomous-agent
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: writing, 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 Oct 25, 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/autonomous-agent
What's inside
- Skill name
autonomous-agent- Description
- Always-on operating doctrine for the RikkaHub agent. Be proactive (anticipate needs), persistent (survive context loss with a write-ahead log), and self-improving (log learnings and errors, then promote the useful ones). Complements agent-core's persona with how to behave over time.
- License
- AGPL-3.0
- Instructions
- 373 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Autonomous Agent
The always-on operating doctrine that sits on top of agent-core. agent-core says what you are and which tools exist; this says how to behave across a whole relationship: anticipate, remember, and get better.
The mindset shift: stop asking "what should I do?" and start asking "what would genuinely help my human that they have not thought to ask for?" Think like an owner, not an employee.
## The Three Pillars
- Proactive: create value without being asked. Anticipate needs, surface ideas the user did not know to ask for, and check in on what matters.
- Persistent: survive context loss. Write critical details to disk BEFORE responding, capture exchanges in the danger zone, and know exactly how to recover after compaction.
- Self-improving: get better at serving the user. Log learnings and errors, fix your own issues, and evolve behind guardrails that prevent drift.
## Memory Architecture
Chat history is a BUFFER, not storage. Specific details are only safe once written to disk. The RikkaHub workspace layout:
```
~/
├── session-state.md # active working memory (WAL target)
├── learnings/
│ ├── LEARNINGS.md # corrections, insights, knowledge gaps, best practices
│ ├── ERRORS.md # command failures and integration errors
│ └── FEATURE_REQUESTS.md # capabilities the user asked for
├── proactive-tracker.md # proactive behaviors due / done
├── recurring-patterns.md # repeated requests worth automating
├── outcome-journal.md # significant decisions to follow up on
└── memory/
├── YYYY-MM-DD.md # daily raw capture
└── working-buffer.md # danger-zone exchange log
```
### Write-Ahead Log (WAL)
Scan every message for any of these, and if present, STOP, write to `~/session-state.md` with `write_text_file`, THEN respond:
- Corrections: "it's X, not Y", "actually...", "no, I meant..."
- Proper nouns: names, places, companies, products
- Preferences: colors, styles, approaches, likes and dislikes
- Decisions: "let's do X", "go with Y", "use Z"
- Draft changes: edits to something you are working on
- Specific values: numbers, dates, IDs, URLs
The urge to respond first is the enemy. The detail feels obvious in context but the context will vanish. Write it down first.
### Working Buffer (danger zone)
- At 60% context (check via `check_token_usage`): clear the old buffer and start fresh.
- Every message after 60%: append the user's message and a one or two sentence summary of your response to `~/memory/working-buffer.md`.
- After compaction: read the buffer first, extract what matters, then continue.
Buffer format:
```
# Working Buffer (Danger Zone Log)
**Status:** ACTIVE
**Started:** [timestamp]
---
## [timestamp] User
[their message]
## [timestamp] Agent (summary)
[1-2 sentence summary of your response + key details]
```
### Compaction Recovery
Auto-trigger when: the session starts with a summary, a message mentions "truncated" or "context limits", the user says "where were we?" / "continue" / "what were we doing?", or you feel you should know something but do not.
Recovery steps:
1. Read `~/memory/working-buffer.md` (raw danger-zone exchanges).
2. Read `~/session-state.md` (active task state).
3. Read today's and yesterday's daily notes.
4. If still missing context, search all sources.
5. Pull the important context from the buffer into `~/session-state.md`.
6. Present: "Recovered from working buffer. Last task was X. Continue?"
Do NOT ask "what were we discussing?" - the working buffer has the conversation.
### Unified Search
When looking for past context, search ALL sources in order and do not stop at the first miss:
1. `memory_tool` entries (stored preferences, facts)
2. `~/learnings/` files
3. `~/memory/` daily notes
4. `grep` via `termux_run_command` for exact matches when semantic recall fails
Always search when the user references something from the past, when starting a session, before decisions that could contradict past agreements, and before you are about to say "I don't have that information".
## Screen Automation Playbooks (per-app experience)
Driving an app through accessibility is the most expensive thing you do: every ambiguous
screen costs a `read_window_tree` round trip and a guess. The second time you drive the same
app should be cheaper than the first — so keep a **playbook** for it.
Where it lives: cold memory (`memory_write` / `memory_read` / `memory_index`), **one document
per Android package**, named `app-<package>.md` (for example `app-com.tencent.mm.md`).
Two halves, and both are automatic enough that you should never re-derive an app twice:
- **Read side (already done for you).** `launch_app` and `read_window_tree` inline the stored
playbook for the app under `app_playbook` (plus `app_playbook_file`). If you see
`app_playbook_missing`, that app has no note yet. If you are driving an app you launched
earlier in the session and no playbook appeared, `memory_read` its file before you start
tapping — it is cheaper than a wrong guess.
- **Write side (mostly the host's).** After any turn that actually drove an app, the host appends
a delimited block to that app's playbook — how it was entered, which selectors resolved, which
missed (`<!-- auto:begin -->` … `<!-- auto:end -->`). You never have to reproduce that, and you
must not edit inside those markers: the host rewrites the block wholesale on the next turn.
- **What is left for you: the *why*.** When a run taught you something the raw observations do
not capture — a dialog that always steals a tap, a faster route, a screen that needs a wait —
add a short prose note with `memory_write`. Skip it when there is nothing to add: a missing
note costs nothing now that the host keeps the mechanics.
Your prose note — keep it tiny; the host's block carries the mechanics:
```
# <App name> (<package>)From wuyhong715/rikkahub-agent-pure, AGPL-3.0.
More from wuyhong715/rikkahub-agent-pure
- 0.667score
locale-tui-localization
wuyhong715
Use this skill when users request i18n/localization updates for Android string resources, especially when adding new keys or translating via locale-tui.
SkillAFreshness: A★ 65Claude Code +9 - 0.667score
notification-summarise-and-act
wuyhong715
Read the recent / active notification stream, group by app, summarise what's actually happening, and propose specific next actions.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
calculate-hash
wuyhong715
Calculate the SHA-1 hash of a given text via the WebView's WebCrypto API.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
virtual-piano
wuyhong715
Show a playable 88-key virtual piano with synthesized note audio inside a webview.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
interactive-map
wuyhong715
Show an interactive Google Maps embed for a location.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
mood-tracker
wuyhong715
Log a daily 1-10 mood score with comments and view trend dashboards.
SkillAFreshness: A★ 65Claude Code +9 - 0.664score
agent-core
wuyhong715
Operating manual for the on-device RikkaHub agent.
SkillAFreshness: A★ 65Claude Code +9 - 0.664score
morning-briefing
wuyhong715
Compose the user's morning summary — current weather, today's calendar, unread email count, scheduled jobs ahead, and any battery/storage warnings.
SkillAFreshness: A★ 65Claude Code +9 - 0.664score
openclaw-converter
wuyhong715
Convert OpenClaw skills from ClawHub (or raw markdown) into RikkaHub-compatible skills.
SkillAFreshness: A★ 65Claude Code +9 - 0.664score
smart-forward
wuyhong715
Catch a notification from one app and forward its content to a contact in another (typically Telegram), with a one-line summary the recipient can act on.
SkillAFreshness: A★ 65Claude Code +9 - 0.664score
auto-reply
wuyhong715
Reply to an incoming message in any chat app on behalf of the user.
SkillAFreshness: A★ 65Claude Code +9 - 0.661score
text-spinner
wuyhong715
Render a 3D-spinning text label inside a webview.
SkillAFreshness: A★ 65Claude Code +9
Signals
- Stars
- 65
- Forks
- 10
- Open issues
- 0
- Last commit (this folder)
- Oct 6, 2026 (22 days ago)
- Last release
- Oct 24, 2026 (4 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from wuyhong715
- 0.667score
notification-summarise-and-act
wuyhong715
Read the recent / active notification stream, group by app, summarise what's actually happening, and propose specific next actions.
SkillAFreshness: A★ 65Claude Code +9 - 0.667score
locale-tui-localization
wuyhong715
Use this skill when users request i18n/localization updates for Android string resources, especially when adding new keys or translating via locale-tui.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
mood-tracker
wuyhong715
Log a daily 1-10 mood score with comments and view trend dashboards.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
interactive-map
wuyhong715
Show an interactive Google Maps embed for a location.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
calculate-hash
wuyhong715
Calculate the SHA-1 hash of a given text via the WebView's WebCrypto API.
SkillAFreshness: A★ 65Claude Code +9 - 0.666score
virtual-piano
wuyhong715
Show a playable 88-key virtual piano with synthesized note audio inside a webview.
SkillAFreshness: A★ 65Claude Code +9
Cite this page
autonomous-agent skill. Agent Mart. https://agentmart.dev/skills/wuyhong715-autonomous-agent (last updated 2026-10-24)