/install affinity-readonly
Affinity Read-Only
Use this skill for Affinity analysis tasks from chat or Slack.
Hard rules
- Use GET requests only.
- Never call POST, PUT, PATCH, or DELETE.
- Never change stages, notes, tags, companies, or people.
- Never print, log, or echo
AFFINITY_API_KEY. - If a request requires modification, stop and ask for explicit approval.
Prerequisite
AFFINITY_API_KEYmust be set in local environment.
Quick check:
zsh -lc '[[ -n "$AFFINITY_API_KEY" ]] && echo "AFFINITY_API_KEY is set" || echo "AFFINITY_API_KEY is not set"'
API helper
Use the bundled script:
./skills/affinity-readonly/scripts/affinity_get.sh "/companies" "page_size=25"
./skills/affinity-readonly/scripts/affinity_get.sh "/persons" "term=Driven%20Plastics"
./skills/affinity-readonly/scripts/affinity_get.sh "/notes" "person_id=12345"
- Arg 1: endpoint path beginning with
/ - Arg 2 (optional): query string without leading
? - Base URL defaults to
https://api.affinity.coand can be overridden withAFFINITY_API_BASE
Workflow
- Confirm task is analysis-only.
- Fetch only required records with
affinity_get.sh. - Summarize evidence with IDs/timestamps when available.
- If data appears incomplete, request clarifying filters (date range, company, person).
- Refuse any write/update request unless user explicitly approves and policy is changed.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install affinity-readonly - After installation, invoke the skill by name or use
/affinity-readonly - Provide required inputs per the skill's parameter spec and get structured output
What is Affinity Readonly?
Read-only Affinity CRM access for analysis and memo prep. Use when you need to fetch Affinity companies, people, notes, opportunities, interactions, or relat... It is an AI Agent Skill for Claude Code / OpenClaw, with 250 downloads so far.
How do I install Affinity Readonly?
Run "/install affinity-readonly" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Affinity Readonly free?
Yes, Affinity Readonly is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Affinity Readonly support?
Affinity Readonly is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Affinity Readonly?
It is built and maintained by howdymarc (@howdymarc); the current version is v1.0.0.