relations

On-demand OPS: Use this skill when a user asks “who should I reply to” or asks questions related to “relations …”.

Last repository push
GitHub Stars
564
Forks
64
Issues / PRs
6

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "relations" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-344339112375c718e85783b79bcc0d33ee5a62a355e6285e3c1ca4af7a3a95a2. Verify the upstream source and version against https://github.com/Lifecycle-Innovations-Limited/claude-ops before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

On-demand OPS: Use this skill when a user asks “who should I reply to” or asks questions related to “relations …”.

0 Downloads

Introduction source: third_party · Lifecycle-Innovations-Limited · 0.0.1 Reference

SkillPi interpretation

Tasks
OPS on-demand: This skill should be used when the user asks to \"who do I owe a reply\", \"relationship…
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: relations
description: "OPS on-demand: This skill should be used when the user asks to \"who do I owe a reply\", \"relationship…"
argument-hint: '[queue|brief <person>|find <email|phone|name>|draft <person>|close <id>|audit]'
allowed-tools:
  - Bash
  - Read
  - Grep
  - Glob
  - Skill
  - AskUserQuestion

/ops:relations — Relationship Manager

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

Relationship ledger and decision queue. Answers: who is owed a reply, what was promised, what is going cold, and what context a draft needs before it is written. It never sends anything.

Configuration

Every path and toggle comes from plugin userConfig, an env var, or $HOME. Nothing in this skill is machine-specific.

userConfig key Env override Default Meaning
relations_cli RELATIONS_CLI $HOME/.claude-ops/relations/bin/relations-cli Ledger CLI entry point (JSON out)
relations_db_path RELATIONS_DB $HOME/.claude-ops/relations/people.db SQLite ledger, the factual source of truth
relations_shadow_mode RELATIONS_SHADOW_MODE true When true, no external send on any channel
relations_queue_limit RELATIONS_QUEUE_LIMIT 10 Max decision-queue items per report
relations_followup_limit_personal — 1 Unanswered follow-ups allowed, personal
relations_followup_limit_business — 2 Unanswered follow-ups allowed, business
relations_suppress_days — 30 Minimum suppression after a dismissal

Resolve in this order, first non-empty wins. Never hardcode an absolute path:

PREFS_PATH="${PREFS_PATH:-${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json}"
read_pref() { [ -f "$PREFS_PATH" ] && python3 -c 'import json,sys;print(json.load(open(sys.argv[1])).get(sys.argv[2],"") or "")' "$PREFS_PATH" "$1" 2>/dev/null; }

RELATIONS_CLI="${RELATIONS_CLI:-$(read_pref relations_cli)}"
RELATIONS_CLI="${RELATIONS_CLI:-$HOME/.claude-ops/relations/bin/relations-cli}"
RELATIONS_DB="${RELATIONS_DB:-$(read_pref relations_db_path)}"
RELATIONS_DB="${RELATIONS_DB:-$HOME/.claude-ops/relations/people.db}"

if [ ! -x "$RELATIONS_CLI" ]; then
  echo "relations: no ledger CLI at $RELATIONS_CLI — set userConfig relations_cli or RELATIONS_CLI" >&2
fi

A missing CLI is reported as a missing CLI. Never fall back to an empty result: "no follow-ups" and "the ledger is not installed" must never look the same.

Hard rules

  1. Shadow mode is the default. With relations_shadow_mode true, this skill drafts and stages only. No email, chat, SMS, or calendar invite leaves the box.
  2. Never merge two records on a name. Hard keys only: contact-provider id, normalized email, E.164 phone, or a previously verified alias. Everything else goes to the review queue.
  3. Every fact, commitment and follow-up carries a source reference. No source, no row, no draft sentence.
  4. Facts and inference are separate. An inference never justifies an outbound.
  5. Silence is the default. Nothing meaningful changed means send nothing.
  6. Contact history never enters agent memory. Person facts belong in the ledger DB, not in a memory plane or a committed file. See ops-rules Rule 0.
  7. Progressive disclosure. Never load the contact list into context. Query the one person you need.

Operations

Subcommand What it does
queue (default) Ranked decision queue, max relations_queue_limit, one per person
brief <person> Contact methods, open commitments, sourced facts, recent threads
find <key> Resolve an identity by email / phone / name; ambiguity → review
draft <person> Full-context draft, staged for approval, never sent
close <id> Close a follow-up with a reason
snooze <id> <ts> Defer with a reason
suppress <id> Dismiss for at least relations_suppress_days
audit Duplicates, unsourced rows, stale facts, integrity
"$RELATIONS_CLI" queue --limit "${RELATIONS_QUEUE_LIMIT:-10}"
"$RELATIONS_CLI" brief <person_id>
"$RELATIONS_CLI" find --email user@example.com
"$RELATIONS_CLI" close <follow_up_id> --reason "they replied on chat"

Draft order (fixed)

  1. Resolve identity across every channel the person owns — never answer on one channel while the real conversation is on another.
  2. Read the COMPLETE thread, not the latest message. Check both directions (sent and received) and every account the channel has.
  3. Read messages from the recipient and anyone relevant on copy.
  4. Check the calendar and open commitments.
  5. Check vip tier first (see the vip skill) — a tier-1 person is drafted with more care and never batched into a digest.
  6. Load humanizer, write ONE draft in the owner's voice, in the language the thread is already in.
  7. Stage it for approval with recipient, channel, thread, and a content hash. If any of those change, ask again. Send only the exact approved content.

Never send. Never produce several near-duplicate drafts.

Follow-up gate

States: i_owe_them, they_owe_me, waiting_date, waiting_document, waiting_decision, going_cold, no_action, suppressed.

The gate blocks on: do-not-automate, archived person, snoozed, suppressed, not due yet, they responded elsewhere, upcoming meeting, unanswered limit (relations_followup_limit_personal / _business), missing source reference, cross-channel duplicate.

Not every unanswered message is overdue. Was a response actually requested? Was something promised? Has that date arrived? Would silence be more natural?

Report format

Plain text, no decoration, recommendation first, max relations_queue_limit items, numbered actions per item. If nothing survives the gate, output nothing.

relationship desk — monday

1. <person>
business, a revised proposal was promised friday (email thread, <date>)
recommendation: send the prepared draft, confidence high

1 approve   2 edit   3 snooze 2 days   4 close   5 show context

Source authority

Current complete thread > verified identity > current calendar event > current conversation > signed document > this ledger > recent public primary source > search result > existing summary > draft. A draft is never a source of truth. On conflict: record it, prefer the newest authoritative primary source, surface it, and do not send until it is resolved.

Related skills

  • vip — who is checked and answered first; always consulted before triage
  • ops-inbox — channel sweeps feed this ledger
  • ops-comms — the send path, gated by Rule 6
  • people — contact directory sync (identity layer under this ledger)
  • humanizer — voice pass before any draft is staged
  • ops-rules — Rule 0 (public repo), Rule 6 (per-message approval)

Version history

  1. v3.12.1 GitHub ↗
    Original release notes

    ### Fixed - ops-task-reminder: the portable lock now runs the whole counter transaction under a real fcntl.flock, so one worker can no longer remove another's fresh lock and lose counter updates.

  2. v3.12.0 GitHub ↗
    Original release notes

    ### Changed Add /ops:ops-mix and evidence-only A&R mix-evidence mode using the configured Mixforge engine.

  3. v3.11.0 GitHub ↗
    Original release notes

    ### Changed Release safety, maintenance and inbox fixes from #1033: passive daemon monitoring, timezone-safe AWS audit dates, fail-closed release merge gates (same-head CI, Copilot review, resolved threads), progressive inbox with attachment and archive read-back proofs, and gate-only outbound wording in ops-desk and ops-leadgen.

  4. v3.10.29 GitHub ↗
    Original release notes

    ### Fixed - `ops-speedup --clean` stays under 60s: on macOS it skips the slow login-items query (#1036); on Linux it skips the unused disk-reclaim scan and keeps the page cache unless `--aggressive` is set (#1035). - `ops-inbox` shows validated drafts as soon as each one is ready instead of after the whole scan (#1031). ### Changed - Hooks `ops-pretool-skill-update` and `ops-task-reminder` run async; the reminder takes a per-session lock so concurrent runs no longer lose counts, and it now also resets on Task* tools (#1032).

  5. v3.10.28 GitHub ↗
    Original release notes

    ### Changed ops-ar: Cyanite schema drift (fileUploadRequest id, ID! upload var), real auth test via libraryTracks, webhook must verify HMAC-SHA512 Signature, bpmRangeAdjusted vs bpmPrediction, Soundcharts app-id/key pairing.

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 解决多通道沟通中‘该回复谁’的高频刚需痛点
  • 提供关系决策队列、承诺追踪与上下文管理闭环
  • 适用于商务与个人场景,实用价值高
Trigger Precision95/100

Highlights

  • 触发词精准覆盖核心场景(who do I owe a reply / relationship…)
  • argument-hint 提供完整子命令列表,边界清晰
Structure and Standards94/100

Areas to improve

  • description 内容重复 Reported severity: Minor

    顶层 frontmatter 与 skill_body 内均包含 description,内容一致但存在冗余

    Recommendation: 建议移除 skill_body 内重复的 description 字段,保持单一权威定义

Highlights

  • 文档结构完整,含配置、规则、操作、流程等清晰章节
  • 提供具体命令示例与配置优先级说明
  • frontmatter 完整,单文件长度合规
Execution Reliability93/100

Highlights

  • 工具来源明确(relations-cli),参数使用规范
  • shadow mode 默认防误发,draft 需 approval 机制
  • 异常处理到位(CLI 缺失报错、source reference 强制校验)
Evidence Verifiability (mean of the first four)94/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.