log-network-relationship-machine
Skill103 starsChanged 7 days agoMITView on GitHub
Relationship state machine. A log play (docs/useCases/network/relationshipMachine.md): Where you stand with someone, drawn as a state machine in the stately look. Each platform has its own states and moves, read from what really happens there: on X follows, groups and circles, engagements on your posts (like, reply, quote, repost, mention), the DM and the conversation; on Discord a shared server, the same channel, replies or mentions in a channel, a DM opened (by them or by you) and the conversation, named with the real server and channel and who could introduce you; Instagram, Slack and the rest have their own. Every move is labelled with that platform's log tool. Someone linked across platforms shows one lane per platform, joined on them, standing where they are furthest along. The person's real history from log.db is the path taken, timestamped; where it stands now is highlighted, and
In this repository104 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- log-discord-channel-replySkill
- log-discord-cold-outboundSkill
- log-discord-forum-postsSkill
- log-discord-group-chat-readSkill
- log-discord-meme-replySkill
- log-discord-server-replySkill
- log-discord-server-searchSkill
- log-facebook-groupsSkill
- log-facebook-marketplace-listingsSkill
- log-inbox-agent-to-agentSkill
- log-inbox-boss-maxxingSkill
- log-inbox-governor-resetSkill
- log-inbox-ignore-serverSkill
- log-inbox-label-queueSkill
- log-inbox-outcomesSkill
- log-inbox-quiet-pushSkill
- log-inbox-reactionsSkill
- log-inbox-rea-looksmaxxingSkill
- log-inbox-said-bySkill
- log-inbox-scope-ajobSkill
- log-inbox-show-meSkill
- log-inbox-sign-inSkill
- log-inbox-triageSkill
- log-inbox-voice-noteSkill
- log-inbox-warm-peopleSkill
- log-instagram-dm-replySkill
- log-instagram-new-platformSkill
- log-linkedin-networkSkill
- log-linkedin-postsSkill
- log-log-agent-setupSkill
- log-log-browser-moveSkill
- log-log-local-modelsSkill
- log-log-secret-storeSkill
- log-log-tool-from-one-offSkill
- log-log-tool-healthSkill
- log-log-update-logSkill
- log-network-who-to-talk-toSkill
- log-people-botsSkill
- log-people-factsSkill
- log-reddit-contributor-maxxingSkill
- log-slack-dm-replySkill
- log-tiktok-postSkill
- log-tiktok-video-researchSkill
- log-twitter-affiliate-marketingSkill
- log-twitter-collab-maxxingSkill
- log-twitter-dm-inboxSkill
- log-twitter-engagement-repliesSkill
- log-twitter-engager-dmsSkill
- log-twitter-followersSkill
- log-twitter-follow-upsSkill
- log-twitter-get-the-actionSkill
- log-twitter-manager-maxxingSkill
- log-twitter-network-maxingSkill
- log-twitter-niche-map-regionSkill
- log-twitter-notificationsSkill
- log-twitter-recruitingSkill
- log-twitter-reply-guy-funnelSkill
- log-twitter-topic-repliesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
Light and dark: follow the host's theme; the colours, sizes and fonts all live in src/relate/machine/theme.ts.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Relationship state machine
This is the log play network/relationshipMachine. Before anything else, call the log MCP tool getGuide({ useCase: "network/relationshipMachine" }): it returns this page and makes it the session's play, so every log tool's answer says which step you are on and a send with no play loaded is refused (rules 157, 158). Then follow the steps in order.
Draft every message from that person's own thread and the owner's real replies (voice with no text, search), never from memory, and never send two that read alike (sameAsSent).
Where you stand with someone, drawn as a state machine in the stately look. Each platform has its own states and moves, read from what really happens there: on X follows, groups and circles, engagements on your posts (like, reply, quote, repost, mention), the DM and the conversation; on Discord a shared server, the same channel, replies or mentions in a channel, a DM opened (by them or by you) and the conversation, named with the real server and channel and who could introduce you; Instagram, Slack and the rest have their own. Every move is labelled with that platform's log tool. Someone linked across platforms shows one lane per platform, joined on them, standing where they are furthest along. The person's real history from log.db is the path taken, timestamped; where it stands now is highlighted, and the next move is the outgoing transition. The same machine shows the route to someone through the people you know, and your whole network: every state cell holds the people standing in it as avatar initials and handles, who matters most first (recent activity, fit, an open promise), with their lasting facts from log.db, the one they said and the date, waiting behind a click.
How the owner asks for it: "where am I with <person>", "how do I reach <person>".
Run it from a fresh context
Say: "go on docs/useCases/network/relationshipMachine.md". The agent reads this page and runs the steps. Nothing is sent: every step reads log.db and the Relate graph.
The steps
| # | Step | Tool | Done when |
| 1 | Is there a Relate graph, and how far behind log.db | relateStatus {} | its event number; no graph means relateBuild {} first |
| 2 | One person: draw their machine with their real history and the next move | relateMachine { person } | the machine is shown, or the text says where they stand and the next move |
| 3 | The route to someone: you, then who could introduce you, then them | relateMachine { to } | the best connector is the highlighted next move |
| 4 | The whole network: the people standing in each state, who matters first, with +N more behind a page | relateMachine { view: "network" } | each state's cell lists its people; a click shows one person's facts, lanes and next move |
| 5 | The owner picks a move; it goes through that move's own play and gates, never from the view | the agent | the owner's yes for each send |
What to know
- It is a block.
relateMachinereturns astateMachineblock in thereportview, so any report can carry one too:report{ title, blocks: [{ type: "stateMachine", states, transitions }] }. - In a Hermes GenUI page.
relateMachine{ person, form: "genui" } returns the same block as JSON; pass it unchanged as one ofshow_blocks' blocks, between text and callouts that make the point. Each state'sexplain(where they stand, why, the next move) shows on the node, on hover and in the panel on a click. - The card map. The same network drawn as person cards in rings from the ladders, joined by real rooms, chats and replies:
relateMap{} returns anetworkMapblock (or its text fallback);relateMap{ person } focuses one card and the shortest bridge to them, and each card carries why they stand there, the rooms, the lasting facts with their source and the next move.relateMap{ form: "genui" } returns that block forshow_blocks. - Light and dark follow the host's theme; the colours, sizes and fonts all live in
src/relate/machine/theme.ts. - Where the states come from: one ladder per platform in
LADDERS(src/relate/machine/types.ts). Follows and engagements come from log.db's interactions (their first time), servers, channels and groups from the graph's rooms (a channel counts once you have both written in it), replies and mentions from the graph'sREPLIED_TOandMENTIONEDedges either way, DMs from the first message each way, and the network map's ring when log.db has nothing else. - Layout: a machine wider than the view is laid out top-down, so one person's machine never renders as a single long row.
- The network's cells. Each state shows up to six people as their initials and handle, ordered by who matters: recent activity, fit, and an open promise about them.
+N moresays how many are behind, and one state pages withrelateMachine{ view: "network", state, cursor } (orlog relate machine --view network --state <s> --cursor <n>);quiet: truelists only those gone quiet for 14 days or more. The block stays small because a cell is a page, not the whole state. - A person in a cell carries up to three lasting facts from
personFactsin log.db (job, promises, money owed) with the message they came from and its date, their next move and every platform lane they stand on; the block's text lists each state's top people with one fact each. - Bots are not people. The network leaves out what log.db knows to be automated or a system account: its own pipeline's bot verdict, a stored profile flag, a hand label, a name that says bot on a word boundary, and the platform account itself. Discord's own bot flag is written into log.db as each message is read (
markAutomatedIdentity), so a bot stops appearing once its lines have been read. The person view still answers for them. - Group chats are their own room. A Discord group DM is not a channel and not a direct chat: it never puts anyone at "Same channel", it is never read as a DM, and its name is shown without a
#. - Who opened the DM is counted for the side that did: a DM they opened from a channel or a reply counts under a transition that says "they DMed you", and the network's number for it matches the person's own machine.
- A DM you sent to someone who never wrote in it only shows once the chat lists them as a member.
- Rebuild the graph (
relateBuild) after new conversations so the machine moves on.
Related
- Up: All use cases
- Who to talk to next
- The Relate graph
- Design research
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

