obsidian-wechat-converter: Command for Claude Code

.claude/commands/openprd/loop.md

loop is a command for Claude Code from DavidLam-oss/obsidian-wechat-converter. It costs 0 tokens per session (399 once invoked), scanned A, original, MIT.

A command for running OpenPrd tasks through an agent such as Codex or Claude. OpenPrd is a workflow tool that turns structured change requests into dependency-ordered development tasks.

In plain words
What is it for?
Use it to initialize a workspace, create a plan, select the next task, run a development or research session, and complete an explicitly requested task.
Why use it?
It provides a controlled way to inspect the next ready task, prepare an agent session, and optionally finish with a commit. It also documents checks for browser work and tool setup.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code; mentions Codex.

This is DavidLam-oss/obsidian-wechat-converter's own configuration. It tells Claude Code how to work on obsidian-wechat-converter itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything obsidian-wechat-converter configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DavidLam-oss/obsidian-wechat-converter. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DavidLam-oss/obsidian-wechat-converter/main/.claude/commands/openprd/loop.md
Clone the repo
git clone --depth 1 https://github.com/DavidLam-oss/obsidian-wechat-converter

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for loop

README.md
[![agentmods](https://agentmods.dev/badge/commands/davidlam-oss/obsidian-wechat-converter/loop.svg)](https://agentmods.dev/commands/davidlam-oss/obsidian-wechat-converter/loop)
Your own site
<a href="https://agentmods.dev/commands/davidlam-oss/obsidian-wechat-converter/loop"><img src="https://agentmods.dev/badge/commands/davidlam-oss/obsidian-wechat-converter/loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 399 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00399
Opus 5 $0.00000 $0.00199
Sonnet 5 $0.00000 $0.00080
Haiku 4.5 $0.00000 $0.00040

Measured yesterday against content hash 6567340271af, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/commands/openprd/loop.md · 24 lines

What it actually says

OpenPrd Loop

使用长程 agent harness 做开发落地。

  1. Run openprd loop . --init once for the workspace.
  2. Run openprd loop . --plan --change <id> to build the feature list from structured change tasks.
  3. Run openprd loop . --next to inspect the next dependency-ready task.
  4. Run openprd loop . --run --agent codex --dry-run or openprd loop . --run --agent claude --dry-run to prepare one fresh single-task session.
  5. For real Codex runs, OpenPrd preflights codex --version before launching the child session. If a Codex optional dependency is missing, diagnose it with openprd doctor . --tools codex; only use openprd loop . --run --agent codex --repair-agent when the user explicitly approves the global npm repair.
  6. Only run openprd loop . --run when the current user message explicitly asks to execute development, continue a task, or perform deep research/benchmarking.
  7. 每个任务都必须先自测;前端界面任务在 Codex 桌面优先用 Computer Use,在 CLI/Claude Code 优先用 Playwright 或 MCP 自动化。
  8. After the session completes, run openprd loop . --finish --item <task-id> --commit only when commit is explicitly part of the requested execution.

Do not continue into the next task inside the same agent session.

For interactive OpenPrd work, rebuild state from .openprd/ before acting. In unattended automation, skip OpenPrd context/gates unless the task explicitly opts into OpenPrd.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 24 lines · 0 tokens per session scan A 6567340271af

Subscribe to this mod's changes

loop is a command published in the GitHub repository DavidLam-oss/obsidian-wechat-converter (304 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 399 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.