drain SKILL.md skillA

drain from harmix/open-stanley is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add harmix/open-stanley/drain@git:20260912.ec207d5

Pins git:20260912.ec207d5 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
harmix/open-stanley
Path
open-stanley/skills/drain/SKILL.md
Versions recorded
1
Latest version
git:20260912.ec207d5, committed Sep 12, 2026
Size
2,759 bytes
Repository stars
5
License
MIT

Work through the local queue that cloud scheduled runs left for this machine — LinkedIn comments to post, LinkedIn feed scans, analytics pulls, posts approved for publishing — using this computer's logged-in browser, then mark each item done or expired and report. Use when a session starts with queued items, when the user says "catch up", "run the queue", "post what's pending", or when the launchd/cron drain job fires. Runs only on a machine with a browser.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Drain the local queue

**Cloud mode only.** In laptop mode (the default) every job runs with the browser and nothing is queued, so this skill has nothing to do; `queue-check` prints nothing and that is the normal outcome. In cloud mode, scheduled runs can reach your MCPs but not your browser, so anything that needs LinkedIn's UI or an X reply box is parked in `ledger/local-queue.jsonl` with an expiry. This skill is the worker. It runs whenever the laptop is online: from the `SessionStart` hook (it tells you at the top of any session that items are waiting), from the launchd job in `templates/launchd/` inside your window, or when you ask.

## 1. Read the queue

`skills/stanley/scripts/stanley-vault queue-check` prints pending, unexpired items as JSON lines and marks expired ones. If the vault is on Google Drive, `sync` first so you see what the cloud wrote. Group by job type and do the oldest first.

## 2. Job types and what to do

| `job` | payload | action |
|---|---|---|
| `comment` | platform, url, text, author | Open the post, confirm it still exists and the author is not the user, post `text` exactly, `comment-add`, `surfaced-add` |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add harmix/open-stanley/drain@sha256:b07ec3855495636a

The line at the top of this page pins the label git:20260912.ec207d5, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_33fi5qcxbp4syi2l.svg)](https://markdownregistry.com/a/art_33fi5qcxbp4syi2l)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Sep 12, 2026.

versioncommittedcommitsizeaudit
git:20260912.ec207d5 latest2026-09-12 ec207d5 2,759 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2759 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

harmix/open-stanley · 5 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_33fi5qcxbp4syi2l
GET https://markdownregistry.com/api/v1/resolve?ref=harmix/open-stanley/drain
GET https://markdownregistry.com/api/v1/blob/b07ec3855495636aa7810ee506eb905f5530bd4238162fd8039f425d5af6da33

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from harmix/open-stanley

llms.txt llms.txt file
harmix/open-stanley · llms.txt
git:20261106.bd1d63f · audit A · 5 stars
DESIGN.md@open-stanley/docs DESIGN.md file
harmix/open-stanley · open-stanley/docs/DESIGN.md
git:20260912.ec207d5 · audit A · 5 stars
atlas SKILL.md skill
harmix/open-stanley · open-stanley/skills/atlas/SKILL.md · Map the user's vertical with public data — rank, compare or chart companies, tools, papers, funding, prices or usage…
git:20261106.ab2f615 · audit A · 5 stars
audit SKILL.md skill
harmix/open-stanley · open-stanley/skills/audit/SKILL.md · Check a LinkedIn/X post or comment for the things that get it demoted, flagged as AI, or skipped by readers —…
git:20260912.ec207d5 · audit A · 5 stars
humanpass SKILL.md skill
harmix/open-stanley · open-stanley/skills/humanpass/SKILL.md · Get a post written or fully rewritten by a human — the user themselves (default), a retained editor, or a paid writer…
git:20260912.ec207d5 · audit A · 5 stars
learn SKILL.md skill
harmix/open-stanley · open-stanley/skills/learn/SKILL.md · Turn the user's edits, skips, and results into durable rules — update voice.md and learn/rules.md from draft→final…
git:20261106.92bee15 · audit A · 5 stars
longform SKILL.md skill
harmix/open-stanley · open-stanley/skills/longform/SKILL.md · Write one long piece — a teardown, a field report, or a build log — from the vault's own receipts, then cut it into the…
git:20260914.1e4d992 · audit A · 5 stars
mine SKILL.md skill
harmix/open-stanley · open-stanley/skills/mine/SKILL.md · Find post material in the user's own life through every connected source — meeting transcripts and summaries (Pam…
git:20261106.92bee15 · audit A · 5 stars
onboard SKILL.md skill
harmix/open-stanley · open-stanley/skills/onboard/SKILL.md · Set up Open Stanley for a person — create the vault, diagnose their LinkedIn/X so far (median engagement, what worked…
git:20261106.2d5ecd0 · audit A · 5 stars
publish SKILL.md skill
harmix/open-stanley · open-stanley/skills/publish/SKILL.md · Post or schedule an approved draft to LinkedIn and/or X through the user's own logged-in browser (or a posting MCP such…
git:20261106.92bee15 · audit A · 5 stars
recap SKILL.md skill
harmix/open-stanley · open-stanley/skills/recap/SKILL.md · Report what the user's posts and comments did (impressions, reactions, comments, followers, who engaged), attach the…
git:20261106.76dab21 · audit A · 5 stars
rituals SKILL.md skill
harmix/open-stanley · open-stanley/skills/rituals/SKILL.md · The proactive habits of a head of content — the morning Soapbox question that pulls a voice note out of the user…
git:20261106.2d5ecd0 · audit A · 5 stars

Every file in harmix/open-stanley

Other files named drain

drain SKILL.md skill
inkatze/planwright · skills/drain/SKILL.md · Run the on-demand drain pass over every spec bundle's Gate deferral entries: evaluate structured GATE(when:)…
git:20261019.4594521 · audit A · 4 stars

Browse by kind, by grade A, or by owner.