setup

setup is a skill for Claude Code, Codex from edwin-hao-ai/Awareness-SDK. It costs 18 tokens per session (4,036 once invoked), scanned D, original, Apache-2.0.

A setup guide for Awareness Memory, including checking its local background service, signing in through a browser, choosing a memory, and saving credentials.

In plain words
What is it for?
It is for checking whether the local service is running, authenticating with Awareness Cloud when wanted, and writing the required settings.
Why use it?
It helps configure local-only or cloud-backed memory without requiring the setup steps to be worked out manually.

Skill for Claude CodeCodex

Part of the awareness-memory plugin — 5 skills, 4 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/edwin-hao-ai/awareness-sdk/setup
Any agent
npx skills add edwin-hao-ai/Awareness-SDK --skill setup
Clone the repo
git clone --depth 1 https://github.com/edwin-hao-ai/Awareness-SDK

Made for: Claude Code, Codex.

Or install awareness-memory, the plugin that ships this one along with the rest of its 5 skills, 4 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/edwin-hao-ai/awareness-sdk/setup.svg)](https://agentmods.dev/skills/edwin-hao-ai/awareness-sdk/setup)
Your own site
<a href="https://agentmods.dev/skills/edwin-hao-ai/awareness-sdk/setup"><img src="https://agentmods.dev/badge/skills/edwin-hao-ai/awareness-sdk/setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,036 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 4 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00018 $0.04036
Opus 5 $0.00009 $0.02018
Sonnet 5 $0.00004 $0.00807
Haiku 4.5 $0.00002 $0.00404

Measured 4d ago against content hash c887a38d066d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

setup scanned grade D with 4 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

| `APPROVED:{api_key}` | Success! | Extract the api_key, proceed to Step 3 |

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

mkdir -p ~/.awareness && printf '{"api_key":"%s","api_base":"https://awareness.market/api/v1"}\n' '{api_key}' > ~/.awareness/credentials.json && chmod 600 ~/.awareness/credentials.json

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -sf http://localhost:37800/healthz 2>/dev/null && echo "DAEMON:RUNNING" || echo "DAEMON:NOT_RUNNING"

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

subprocess.run(['open', url], check=True, capture_output=True)
claudecode/skills/setup/SKILL.md · 440 lines

How it starts

The opening of the file, as written. The whole thing — 440 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Setup Awareness Memory: check local daemon status, optionally authenticate via browser, select a memory, and write credentials to settings.json.

Cloud API base URL: https://awareness.market/api/v1 Local daemon URL: http://localhost:37800

Step 1 — Check local daemon

First check if the local Awareness daemon is running:

curl -sf http://localhost:37800/healthz 2>/dev/null && echo "DAEMON:RUNNING" || echo "DAEMON:NOT_RUNNING"

If daemon is running (DAEMON:RUNNING):

Get daemon status:

curl -sf http://localhost:37800/api/v1/status 2>/dev/null || echo "{}"

Tell the user:

Awareness local daemon is running!

Status: [show memory_id, mode, etc. from status response]
MCP URL: http://localhost:37800/mcp

Your local memory is ready to use.

Then ask: "Want to connect to Awareness Cloud for sync and sharing? (yes/no)"

  • If no → jump to Step 5 (write local-only settings) and finish.
  • If yes → continue to Step 2 (cloud auth).

If daemon is NOT running:

Check if user has existing cloud credentials (same logic as before):

1a. Check environment variables (from settings.json)

Read the current environment variables AWARENESS_API_KEY and AWARENESS_MEMORY_ID. If both exist AND AWARENESS_API_KEY starts with aw_ AND is NOT the placeholder aw_your-api-key-here, and AWARENESS_MEMORY_ID is NOT your-memory-id-here:

  • Tell the user cloud credentials are already configured.
  • Ask: "Do you want to re-configure? (yes/no)"
  • If no → stop here. Suggest running /awareness-memory:session-start instead.
  • If yes → continue to Step 2.
1b. Check ~/.awareness/credentials.json (left by npx @awareness-sdk/setup)

Run:

cat ~/.awareness/credentials.json 2>/dev/null

If the file exists and contains a valid api_key (starts with aw_):

  • Tell the user: "Found existing Awareness credentials (from a previous setup). Reusing them."
  • Extract the api_key and api_base values.
  • Skip Step 2 and Step 3 — jump directly to Step 4 (Memory selection) using this api_key.

Read the full file on GitHub · 440 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 440 lines · 18 tokens per session scan D c887a38d066d

Subscribe to this mod's changes

setup is a skill published in the GitHub repository edwin-hao-ai/Awareness-SDK (9 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 18 tokens to every session and 4,036 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 4 findings (harvests environment variables, asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

mulch-record-from-evidence

Turn the evidence of a finished work session — git commits, changed files, recently-touched seeds issues — into well-formed ml record invocations. Use at session close, when an agent has made changes worth preserving as mulch expertise but hasn't yet recorded them.

jayminwest/mulch · 61 tokens

synap

Add persistent, structured long-term memory to AI agents using Maximem Synap. Use this skill whenever the user is building, debugging, or evaluating an AI agent and mentions any of: "memory", "long-term memory", "persistent memory", "agent memory", "remember across sessions", "context window", "agent forgets", "user…

maximem-ai/maximem_synap_sdk · 0 tokens

memory-protocol

Universal protocol for total-agent-memory MCP server. Activate at session start, before any non-trivial task, after every significant action, on errors, and at session end. Relevant whenever the user mentions: memory, recall, past context, decisions history, conventions, lessons learned, "продолжаем", "сохранись"…

vbcherepanov/total-agent-memory · 120 tokens

memory

Activate this skill when starting a new session, beginning a new task, saving knowledge, recalling past decisions, or after completing significant work. Also activate on errors to log them for pattern analysis. Relevant when the user asks about memory, past context, lessons learned, decisions history, project…

vbcherepanov/total-agent-memory · 65 tokens

synap

Add persistent, structured long-term memory to AI agents using Maximem Synap. Use this skill whenever the user is building, debugging, or evaluating an AI agent and mentions any of: "memory", "long-term memory", "persistent memory", "agent memory", "remember across sessions", "context window", "agent forgets", "user…

maximem-ai/maximem_synap_sdk · 0 tokens

engram-wiki-workflow

Engram Wiki 작성·수정 절차를 강제한다. 트리거: 위키 작성, 조사 결과 기록, 기술 리서치 정리, 설계 결정 문서화, 새 도구 정리, kgaddnote, kgupdatenode, wiki update. 단순 Wiki 조회나 검색에는 실행하지 않는다.

JJHbrams/Project-AMBER · 75 tokens