qclaw-project

qclaw-project is a cursor rule for Cursor from qiuzhi2046/Qclaw. It costs 377 tokens per session, scanned A, original, Apache-2.0.

A project rulebook for Qclaw, an Electron desktop application built with React, TypeScript, and Vite. It documents the project layout, development commands, and required checks before submitting changes.

In plain words
What is it for?
Use it when working on Qclaw’s desktop interface, main process, secure bridge, shared code, tests, builds, or submission checklist.
Why use it?
It gives an agent the project’s conventions in one place and reduces mistakes such as editing the wrong area or skipping type checks and tests.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit Use it when working on Qclaw’s desktop interface, main process, secure bridge, shared code, tests, builds, or submission checklist.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/qiuzhi2046/qclaw/qclaw-project
About the project

Qclaw is a desktop application that helps people install, configure, and manage OpenClaw without using the command line. It guides users through model setup, messaging-platform connections, gateway monitoring, skill management, and data backups. The catalogue entries are rules for operating OpenClaw through this user-focused environment.

qiuzhi2046/Qclaw · 2,816 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/qiuzhi2046/Qclaw

Made for: Cursor.

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 qclaw-project

README.md
[![agentmods](https://agentmods.dev/badge/rules/qiuzhi2046/qclaw/qclaw-project.svg)](https://agentmods.dev/rules/qiuzhi2046/qclaw/qclaw-project)
Your own site
<a href="https://agentmods.dev/rules/qiuzhi2046/qclaw/qclaw-project"><img src="https://agentmods.dev/badge/rules/qiuzhi2046/qclaw/qclaw-project.svg" alt="Measured on agentmods" height="20"></a>
Per session 377 This file is loaded in full into every session.
When invoked 377 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00377 $0.00377
Opus 5 $0.00188 $0.00188
Sonnet 5 $0.00075 $0.00075
Haiku 4.5 $0.00038 $0.00038

Measured 8d ago against content hash e5babb60cfd4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

qclaw-project 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 8d ago.

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.

.cursor/rules/qclaw-project.mdc · 49 lines

What it actually says

Qclaw 專案規範

技術棧

  • 桌面框架:Electron
  • 前端:React + TypeScript + Vite
  • UI:Mantine 8 + Tailwind CSS 3
  • 打包:electron-builder
  • 測試:Vitest
  • 授權:Apache-2.0

目錄結構

electron/
  main/         主程序(窗口管理、CLI 調用、IPC 處理)
  preload/      預加載腳本(安全橋接)
src/
  pages/        頁面元件(嚮導步驟、Dashboard、聊天等)
  components/   UI 元件
  lib/          業務邏輯
  shared/       共享模組
  types/        TypeScript 型別定義(含 IPC API 介面)

開發指令

指令 用途
npm run dev 啟動開發伺服器
npm run typecheck TypeScript 型別檢查
npm test 執行測試套件(Vitest)
npm run build:app 前端 + 主程式編譯

npm run buildforceCodeSigning: true 在無憑證環境會失敗,屬預期行為。

提交前必跑

npm run typecheck
npm test
npm run build:app
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. 8d ago First seen · 49 lines · 377 tokens per session scan A e5babb60cfd4

Subscribe to this mod's changes

qclaw-project is a cursor rule published in the GitHub repository qiuzhi2046/Qclaw (2,816 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 377 tokens to every session, about $0.0019 per session on Opus 5. 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-08-30.