# Venmo Relationship Target Derivation

> Use for AppWorld/Venmo tasks that mutate records qualified by a social relationship plus a time window (e.g. "payments I received from my friends"), where the target set must be derived by cross-referencing endpoints before bulk comment/like mutations.

- Skill: `ruc-nlpir/venmo-relationship-target-derivation` (Agent Skill)
- Install (CLI): `npx get-skill add ruc-nlpir/venmo-relationship-target-derivation`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ruc-nlpir/venmo-relationship-target-derivation/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ruc-nlpir (https://skillmd.com/u/ruc-nlpir)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/ruc-nlpir/venmo-relationship-target-derivation

---

When a Venmo task requires acting on records qualified by a relationship (e.g. "payments I received from my friends"):

1. Do not assume the transactions endpoint exposes a friendship filter. `show_transactions` accepts only `user_email`, `direction`, and date/amount filters; there is no "friends" filter.
2. Enumerate the relationship set first with `search_friends`, which returns the friend emails.
3. Fetch candidate records with the appropriate filters: `show_transactions(direction='received', min_created_at=<simulated date - window>)`. Compute the date filter from the simulated datetime, inclusive of today.
4. Intersect the two result sets on the counterparty field (`sender.email`) to obtain the true target set.
5. Only after deriving the target set, apply the requested bulk mutation (e.g. comment/like) to those records.

Before mutating, verify the window boundary (inclusive of today) and confirm which counterparty field the intersection uses.

