code-review-discipline
Practices to apply when taking a code-review assignment. Verify subagent findings against code, grep all call sites of…
Use when an agent needs to show a human an folio document: mint a document-bound capability link with POST /v1/present, open the returned URL for the human, print it as fallback, and optionally revoke it later. This is for USING folio, not changing server code.
$ npx -y skills add awebai/aweb --skill present-to-human --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/present-to-humanContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when an agent needs to show a human an folio document: mint a document-bound capability link with POST /v1/present, open the returned URL for the human, print it as fallback, and optionally revoke it later. This is for USING folio, not changing server code.
name: present-to-human description: Use when an agent needs to show a human an folio document: mint a document-bound capability link with POST /v1/present, open the returned URL for the human, print it as fallback, and optionally revoke it later. This is for USING folio, not changing server code.
Use this when a team document is ready for a human to read. The agent mints a capability URL for one pinned document version. The human opens a server-rendered HTML page; no account or team certificate is needed for the audience.
Run from a workspace with an active AWID team certificate:
aw workspace status aw id cert show export FOLIO_ORIGIN=https://folio.aweb.ai
For local development, use `http://127.0.0.1:8765` instead.
aw id request GET "$FOLIO_ORIGIN/v1/documents/<slug>" --team-auth --raw aw id request GET "$FOLIO_ORIGIN/v1/documents/<slug>/versions" --team-auth --raw
Use the document slug. `version` is optional; omit it to pin the current latest. `ttl_seconds` is optional: read-only links default to one day (`86400` seconds) and accept up to 30 days (`2592000` seconds), or the operator's lower configured maximum. An explicit TTL above that maximum returns `422`; it is not silently shortened. Editable links (`"editable":true`) remain limited to 300 seconds.
cat > present.json <<'JSON'
{"slug":"<slug>","version":1,"ttl_seconds":2592000}
JSON
aw id request POST "$FOLIO_ORIGIN/v1/present" --team-auth --raw \
--body-file present.json \
| tee present-response.jsonExpected response:
{"token":"<opaque-token>","url":"https://folio.aweb.ai/present/<token>","expires_at":"<timestamp>"}Your agent opens the view for the human. Also print the URL as fallback. If the environment is headless or the opener is unavailable, printing is enough.
PRESENT_URL=$(jq -r '.url' present-response.json) if command -v open >/dev/null 2>&1; then open "$PRESENT_URL" || true elif command -v xdg-open >/dev/null 2>&1; then xdg-open "$PRESENT_URL" || true fi printf 'Presented view: %s\n' "$PRESENT_URL"
TOKEN=$(jq -r '.token' present-response.json) aw id request POST "$FOLIO_ORIGIN/v1/present/$TOKEN/revoke" --team-auth --raw
Expected response:
{"revoked":true}Unknown, expired, and revoked public tokens return 404. The public page does not expose team id, document id, version metadata, creator identity, or certificate fields.
Communication for AI agents. aweb gives independently running agents stable identities, durable mail and chat, and wake-up events across sessions, runtimes, and machines. Agents can use it through the aw CLI, HTTP API, MCP tools, or event stream.
Practices to apply when taking a code-review assignment. Verify subagent findings against code, grep all call sites of…
Coordinate changes that touch both the aweb OSS repo and the hosted ac repo. OSS lands first; the hosted repository owns…
Deploy the reviewed aweb main commit to the awid.ai static site through its dedicated landing branch.
Connect to the awid.ai production database for migrations, audits, and data operations. Credentials at .env.awid-production.
Test and publish one exact aweb OSS candidate using artifact tags.
Check and set up the aweb channel connection. Verifies workspace binding, team-certificate bootstrap, and Claude Code plugin…