/install awaek
Awaek
Awaek turns saved X bookmarks into a local source engine for OpenClaw.
Use this skill when the user says Awaek, my saves, my saved posts, my bookmarks, or saved X bookmarks.
Do not answer Awaek requests from OpenClaw memory alone. Retrieve local bookmark evidence first, then answer from that evidence.
Safety
- Data stays local. New installs use
~/.awaek/data/awaek.db; existing Hermes installs may keep using~/.hermes/awaek/data/awaek.db. - X access is handled by the local
xurlCLI. - Never read, print, summarize, upload, or inspect
~/.xurl. - Never ask the user to paste X Client IDs, Client Secrets, access tokens, refresh tokens, or
~/.xurlcontents into chat. - Do not run
xurlwith verbose/debug flags. - Retrieve focused evidence only. Do not send the full database to the model.
- If saved evidence is weak or missing, say so plainly.
Commands
Use {baseDir} as the installed OpenClaw skill directory. Awaek scripts live in {baseDir}/skills/awaek/scripts.
Status:
python3 {baseDir}/skills/awaek/scripts/status.py
Topics and learned themes:
python3 {baseDir}/skills/awaek/scripts/list_scopes.py --learned
Search saved posts:
python3 {baseDir}/skills/awaek/scripts/search.py "\x3Cquery>" --limit 20
Safe-domain links from saves:
python3 {baseDir}/skills/awaek/scripts/links.py --stats
python3 {baseDir}/skills/awaek/scripts/links.py --status pending --limit 20
Evidence pack for ask, draft, decide, and plan:
python3 {baseDir}/skills/awaek/scripts/answer_pack.py --plan-stdin --limit 30 \x3C\x3C'JSON'
\x3Cstrict retrieval plan JSON>
JSON
Setup And Sync
When the user asks to install, set up, or sync Awaek:
python3 {baseDir}/skills/awaek/scripts/setup.py
xurl auth status
xurl whoami
If xurl is missing or unauthenticated, tell the user to complete one-time xurl setup outside chat. Do not ask for secrets. Requirements:
- X developer app with redirect URI
http://localhost:8080/callback - OAuth scopes that allow bookmark reads
xurl auth oauth2 --app \x3Capp-name>xurl auth default \x3Capp-name>
After xurl whoami works:
xurl "/2/users/me?user.fields=username,name"
Fetch the first bookmark page:
xurl "/2/users/\x3Cuser-id>/bookmarks?max_results=100&tweet.fields=created_at,author_id,entities,note_tweet,attachments,public_metrics&expansions=author_id&user.fields=username,name" | python3 {baseDir}/skills/awaek/scripts/sync.py --source input --limit 100
If sync.py returns next_token, fetch the next page:
xurl "/2/users/\x3Cuser-id>/bookmarks?max_results=100&pagination_token=\x3Cnext-token>&tweet.fields=created_at,author_id,entities,note_tweet,attachments,public_metrics&expansions=author_id&user.fields=username,name" | python3 {baseDir}/skills/awaek/scripts/sync.py --source input --limit 100
Repeat until next_token is null or missing. Do not sync every turn; sync when asked, when no library exists, or when the user agrees the library is stale.
After sync, run status and topics, then report bookmarks indexed, evidence chunks, top topics, learned themes, and 3-4 useful next prompts based on actual topics:
python3 {baseDir}/skills/awaek/scripts/status.py
python3 {baseDir}/skills/awaek/scripts/list_scopes.py --learned
Ask, Draft, Decide, Plan
For answer/draft/plan/decision requests, create this retrieval plan first. This is planning only; do not answer yet.
{
"user_request": "Original user message exactly.",
"normalized_request": "Cleaned request with typos fixed, preserving meaning.",
"task_type": "ask | draft | plan | decide | find",
"intent": "short_snake_case_intent",
"goal": "What the user wants to accomplish.",
"domain": "Main domain or topic.",
"platforms": [],
"entities": [],
"must_match_terms": [],
"needed_evidence": [],
"avoid_evidence": [],
"output_need": "answer | strategy | draft | comparison | checklist | search results",
"topic_filters": []
}
Plan rules:
- Fix typos in
normalized_request. - Preserve product names, people, companies, platforms, protocols, and requested output.
- Use
must_match_termsonly when direct saved-post evidence is required. - Put evidence types in
needed_evidence; do not write the final answer there. - Put likely wrong interpretations in
avoid_evidence. - Keep plans domain-general. Do not assume a fixed bookmark library or invent facts about the user's product.
Run answer_pack.py --plan-stdin, then answer from returned context and bookmarks.
Answer rules:
- Use saved-bookmark evidence first.
- Mention that the answer is based on saved X bookmarks.
- Cite or reference saved posts when useful.
- If
evidence_strength.levelisweak, say the saved evidence is thin. - If
evidence_strength.levelisnone, do not invent bookmark-backed claims. Say Awaek found no relevant saved bookmarks and ask whether to use general knowledge. - Use OpenClaw memory or user style only after Awaek evidence has been retrieved.
Direct Search
For "Awaek find..." requests:
python3 {baseDir}/skills/awaek/scripts/search.py "\x3Cquery>" --limit 20
Return matching saved posts with author, snippet, and URL. Do not synthesize unless asked.
For person, company, role, or handle lookups, resolve obvious names/handles before searching. Search exact identifiers first: person name, handle, company, and topic words. If the user says "CEO/founder of \x3Ccompany>" and the person is known, include that person's name and handle. Do not replace an exact person/handle result with adjacent topic posts.
Topic Inspection
For "Awaek topics", "Awaek scopes", "What am I saving?", or broad ambiguous requests:
python3 {baseDir}/skills/awaek/scripts/list_scopes.py --learned
Use categories, subcategories, and learned terms to scope the retrieval plan.
Failure Handling
- Missing
xurl: tell the user Awaek needsxurlbefore it can sync X bookmarks. - Unauthenticated
xurl: tell the user to runxurl auth status, authenticate withxurl auth oauth2 --app \x3Capp-name>, then set default withxurl auth default \x3Capp-name>. - Zero bookmark records: say X returned 0 records and mention possible API permission, OAuth scope, rate-limit, or account issues.
- Records without text: say Awaek received records but not usable post text.
- No relevant evidence: say Awaek found no relevant saved X bookmarks for this request.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install awaek - After installation, invoke the skill by name or use
/awaek - Provide required inputs per the skill's parameter spec and get structured output
What is Awaek?
Personal source engine for saved X bookmarks. Ask, draft, decide, and plan from saved posts using local evidence. It is an AI Agent Skill for Claude Code / OpenClaw, with 0 downloads so far.
How do I install Awaek?
Run "/install awaek" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Awaek free?
Yes, Awaek is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Awaek support?
Awaek is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Awaek?
It is built and maintained by 1lystore (@1lystore); the current version is v0.1.0.