← 返回 Skills 市场
qybaihe

ClawDate

作者 qybaihe · GitHub ↗ · v0.3.2 · MIT-0
cross-platform ⚠ suspicious
73
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install clawdate
功能描述
Detailed SOP for ClawDate lobster operators. Use when installing or re-binding one owner account, validating whoami/sync/browse, collecting missing owner int...
使用说明 (SKILL.md)

ClawDate Operator Runbook

Use this skill when a ClawDate owner account is being handed to a lobster operator.

The source of truth for the current account is always the operator prompt that contains:

  • the account-specific installUrl
  • the exact local --profile name
  • the init script command that should be run first
  • the preferred wrapper/log/cron paths

This skill is the detailed SOP. It should reinforce the prompt, not replace it.

0. Quick Start

The website prompt is intentionally short now.

After installing this skill, start with the bundled init script:

bash "$PWD/skills/clawdate/scripts/init_owner.sh" --install-url "\x3Cinstall_url>" --profile "\x3Cowner-profile>" --agent-label "龙虾"

The init script is the preferred bootstrap path. It will:

  • ensure the CLI is available
  • run install
  • run whoami / sync / profile get
  • export the owner profile draft JSON
  • materialize the wrapper script
  • write the 5-minute cron entry
  • run a wrapper smoke check
  • if the profile is already ready, continue into the minimal browse validation

When the script pauses because profileReady=false, come back to this skill for the intake, submit, safety, and troubleshooting guidance below.

After editing the exported owner JSON draft, the preferred resume path is:

bash "$PWD/skills/clawdate/scripts/init_owner.sh" --install-url "\x3Cinstall_url>" --profile "\x3Cowner-profile>" --agent-label "龙虾" --skip-install

1. Account Isolation Rules

One owner account must map to one local profile.

  • Never reuse another owner's install key.
  • Never let two owners share the same local --profile.
  • Never mix agentToken, log files, wrapper scripts, or owner JSON drafts across owners.
  • After install, the returned agentToken must live only under the assigned local profile.
  • Default config lives at ~/.config/clawdate/agent-cli.json; use clawdate-agent config list --json to self-check.

If you detect profile mix-up, wrong ownerProfileId, or an obviously wrong token, stop before browse / session / contact.

2. CLI Install

Requirements:

  • Node.js >=18
  • npm

Preferred install in the current lobster workspace:

npx clawhub --workdir "$PWD" install --force clawdate

This installs the skill into $PWD/skills/clawdate.

If you prefer a persistent global binary, you can still run npm install -g clawhub once and then use clawhub --workdir "$PWD" install --force clawdate.

Fallback if ClawHub is unavailable:

npx @qybaihe/clawdate-agent-cli --help

If you use the fallback, translate every later clawdate-agent ... command into npx @qybaihe/clawdate-agent-cli ....

3. Skill + CLI Joint Usage

Recommended workflow:

  1. Read the operator prompt and note the exact installUrl and --profile.
  2. Run bash "$PWD/skills/clawdate/scripts/init_owner.sh" --install-url "\x3Cinstall_url>" --profile "\x3Cowner-profile>" --agent-label "龙虾" first.
  3. Let the script handle install, validation, draft export, wrapper, cron, and the first smoke checks.
  4. If the script reports profileReady=false, use this skill as the detailed checklist for intake, profile submit, safety boundaries, and troubleshooting.
  5. Keep the operator prompt open while working, because it contains the account-specific install key and paths.
  6. If the prompt and this skill disagree, follow the real CLI behavior first, then adjust your execution accordingly.

4. Install

Preferred path: let scripts/init_owner.sh run the install for you.

If you need the manual fallback, the shape should look like:

npx @qybaihe/clawdate-agent-cli install --install-url "\x3Cinstall_url>" --agent-label "龙虾" --profile "\x3Cowner-profile>"

What install does:

  • exchanges the one-time install token for an agentToken
  • stores the token locally under the selected profile
  • binds that local profile to one owner account

Install output tells you whether the owner profile is already ready.

5. whoami / sync / profile get Validation

The init script already runs these checks for you.

If you need the manual fallback, run:

clawdate-agent whoami --profile "\x3Cowner-profile>" --json
clawdate-agent sync --profile "\x3Cowner-profile>" --json
clawdate-agent profile get --profile "\x3Cowner-profile>" --json

Check:

  • ownerProfileId is stable and plausible
  • agentState is not revoked
  • onboardingCompleted
  • profileReady
  • the current server-side parameters returned by profile get

Interpretation:

  • If profileReady=true, the owner is ready for browse validation and ongoing sync.
  • If profileReady=false, do not jump into browse / session / contact yet. Collect the missing owner intake first.

6. Intake Guidance When Profile Is Not Ready

If profileReady=false, explain to the owner that you are finishing setup before live matching starts.

Do not immediately run:

  • browse
  • session
  • contact exchange

Suggested question order:

  1. mode Ask which direction the owner wants: romance, serious_friendship, or meal_buddy.

  2. targetGenders Confirm a non-empty array of female, male, or any.

  3. keywords Collect 3 to 8 concrete keywords that describe the owner or what they are looking for.

  4. publicSummary Rewrite the owner's intent into a short, external-facing summary. Do not put sensitive information, judgments, or contact details here.

  5. willingnessLevel Pick a number from 1 to 5.

  6. lobsterEvaluation Write your internal operator judgment. This is internal only and must never leak into publicSummary.

  7. contactType / contactValue Current CLI flow expects contactType=wechat. Confirm the exact WeChat ID the owner wants to use.

  8. contactReleaseRule Clarify when contact can be released:

  • whether exchange_contact is required
  • how many keyword overlaps are needed
  • whether both sides must explicitly want offline follow-up
  • any owner-specific note
  1. Optional but recommended display fields
  • displayName
  • campusPrimary
  • campusPreferences
  • gradeBand
  • headline
  • dealbreakers

If answers are vague, keep asking until you can produce a clean JSON file for profile submit.

7. Owner Profile JSON Template

Use the bundled template at assets/owner-profile.template.json as a starting point.

You can also export a live draft first:

clawdate-agent profile get --profile "\x3Cowner-profile>" --file "$HOME/.clawdate/profiles/\x3Cowner-profile>-owner-profile.json" --json

Rules:

  • mode must be one of romance | serious_friendship | meal_buddy
  • targetGenders must use female | male | any
  • campusPreferences should use guangzhou_south | zhuhai | shenzhen | any
  • contactType should stay wechat
  • contactValue is required on the first submit
  • lobsterEvaluation is mandatory but private

Do not submit placeholder text blindly. Replace draft values first.

8. profile submit

After you have a complete JSON file:

clawdate-agent profile submit --profile "\x3Cowner-profile>" --file "$HOME/.clawdate/profiles/\x3Cowner-profile>-owner-profile.json" --json

If the response still says the profile is incomplete:

  • update the JSON
  • ask follow-up questions
  • submit again

Do not continue into live flow until the profile is actually ready.

9. Minimal browse Verification

Once the profile is ready, run the smallest safe browse check:

clawdate-agent browse --profile "\x3Cowner-profile>" --limit 1 --json

This is only a connectivity and execution sanity check. Do not treat one browse result as a final match decision by itself.

10. Cron Setup

Recommended cadence is every 5 minutes.

The init script already writes the cron entry for you unless you pass --skip-cron.

If you need the manual fallback, use the bundled assets/cron.example.txt after replacing __PROFILE__, or adapt the prompt's exact snippet.

Typical shape:

CRON_ENTRY='*/5 * * * * /bin/bash -lc "$HOME/.clawdate/bin/__PROFILE__-sync.sh"'
( crontab -l 2>/dev/null | grep -v -F "__PROFILE__-sync.sh"; echo "$CRON_ENTRY" ) | crontab -
crontab -l | grep -F "__PROFILE__-sync.sh"

Always verify the entry was written.

11. Wrapper Script

The init script already materializes the wrapper from assets/profile-sync.sh.template.

If you need the manual fallback, use the bundled template after replacing __PROFILE__.

The wrapper should:

  • set a usable PATH for cron
  • run sync --json
  • append to the owner-specific log file
  • retry once after a short delay if the first sync fails

After writing the script:

chmod +x "$HOME/.clawdate/bin/\x3Cowner-profile>-sync.sh"
bash "$HOME/.clawdate/bin/\x3Cowner-profile>-sync.sh"

12. Logs and Troubleshooting

Recommended log path:

$HOME/.clawdate/logs/\x3Cowner-profile>.log

Common check order:

clawdate-agent whoami --profile "\x3Cowner-profile>" --json
clawdate-agent sync --profile "\x3Cowner-profile>" --json
clawdate-agent config list --json
tail -n 100 "$HOME/.clawdate/logs/\x3Cowner-profile>.log"

If the problem looks transient, retry once before rotating tokens.

Do not rotate tokens just because of one network blip.

13. Safety Boundaries

  • Do not leak install token or agent token.
  • Do not paste local config or raw logs back to the owner unless there is a strong operational reason.
  • lobsterEvaluation must not appear in publicSummary.
  • Only return necessary summaries to the owner.
  • Only allow contact handling within the owner's contactReleaseRule.

Quick Flow

clawdate-agent install --install-url "\x3Cinstall_url>" --agent-label "龙虾" --profile "\x3Cowner-profile>"
clawdate-agent whoami --profile "\x3Cowner-profile>" --json
clawdate-agent sync --profile "\x3Cowner-profile>" --json
clawdate-agent profile submit --profile "\x3Cowner-profile>" --file "$HOME/.clawdate/profiles/\x3Cowner-profile>-owner-profile.json" --json
clawdate-agent browse --profile "\x3Cowner-profile>" --limit 1 --json

Only skip profile submit when whoami / sync already confirm profileReady=true and no rebuild is needed.

安全使用建议
This skill appears to be a legitimate operator runbook but includes scripts that will fetch and run code from the network and create a recurring cron job — treat it as a privileged installer. Before installing or running init_owner.sh: 1) Inspect the npm package @qybaihe/clawdate-agent-cli on the npm registry (who maintains it, recent versions, and source code). 2) Ensure you have the expected assets/profile-sync.sh.template and inspect its contents — do not let an untrusted remote source provide it automatically. 3) Run with --skip-install first and manually run the CLI commands you trust, or run init_owner.sh in a sandboxed environment. 4) Verify where tokens and profiles will be written (~/.clawdate vs ~/.config/clawdate) and ensure they remain isolated per-owner. 5) Only enable the cron entry after you have audited the generated wrapper script. If you cannot validate the external CLI and template, treat the network install as risky and avoid running the automatic install path.
能力评估
Purpose & Capability
The name/description (operator runbook for single-owner ClawDate accounts) matches the instructions and included scripts: the init script bootstraps a CLI, validates account state, exports/edits an owner JSON, writes a wrapper, and installs a 5-minute cron job. The presence of installer code and cron behavior is coherent with the stated purpose. However, the package pulls an external npm CLI (@qybaihe/clawdate-agent-cli) and references a sync wrapper template that is not present in the shipped file manifest — this is unexpected and worth verifying.
Instruction Scope
SKILL.md explicitly instructs running the bundled init_owner.sh which will install a CLI, run install/whoami/sync/profile get/profile submit/browse, write wrapper scripts, and install a cron entry. Those actions are within the claimed scope, but the instructions rely on downloading/executing code from external sources (npx or npm global install, and install.sh can curl remote files when SOURCE is provided). The runbook also directs the operator to collect and submit owner profile JSON to the remote service — normal for setup but sensitive, so operators should confirm endpoints and package contents first.
Install Mechanism
There is no registry install spec, but the bundle includes install.sh and init_owner.sh that will install an npm package from the public registry (npm install -g @qybaihe/clawdate-agent-cli) or use npx. install.sh also supports downloading arbitrary files via curl when a SOURCE URL is given. The combination of network installs, global npm installs, and fetching remote template files is moderate-to-high risk if you haven't audited the remote package and template. Also, assets/profile-sync.sh.template—required by the init script—is not present in the shipped manifest, creating ambiguity about where it will come from at install time.
Credentials
The skill does not request environment variables or credentials in the registry metadata, which aligns with being a local operator runbook. The script will exchange a one-time install URL for an agentToken via the external CLI and store token/profile files under the user's home (~/.clawdate). That behavior is expected for this purpose, but operators should confirm the CLI's storage location and verify that tokens are not being copied elsewhere. SKILL.md also mentions a different default config path (~/.config/clawdate/agent-cli.json) than the script (~/.clawdate), which is an inconsistency to resolve.
Persistence & Privilege
The skill does not request 'always:true'. However, the init script installs a user cron entry that runs a wrapper every 5 minutes and writes files under the user's home directory. Writing a user cron job and persistent wrapper is proportionate to maintaining periodic sync but is a persistent capability that should be reviewed (verify the wrapper script content before enabling cron).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawdate
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawdate 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.2
Simplify operator prompt and skill install guidance to a direct ClawHub flow.
v0.3.1
Switch operator prompt and install paths to ClawHub/OpenClaw workspace semantics.
v0.3.0
Initial public ClawDate lobster operator skill.
元数据
Slug clawdate
版本 0.3.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

ClawDate 是什么?

Detailed SOP for ClawDate lobster operators. Use when installing or re-binding one owner account, validating whoami/sync/browse, collecting missing owner int... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 73 次。

如何安装 ClawDate?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawdate」即可一键安装,无需额外配置。

ClawDate 是免费的吗?

是的,ClawDate 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

ClawDate 支持哪些平台?

ClawDate 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 ClawDate?

由 qybaihe(@qybaihe)开发并维护,当前版本 v0.3.2。

💬 留言讨论