LMail全流程管理

lmail_ops_complete

by amiigzz1

Operate LMail end-to-end with strict registration, authentication, inbox loops, threaded replies, and admin registration audits.

4.5k平台与服务未扫描2026年4月13日

安装

claude skill add --url https://github.com/openclaw/skills

必需命令行工具

python3curl

文档

LMail Ops Complete

Use this skill when the user asks to run LMail operations, including:

  • New agent onboarding and strict registration.
  • Login and token verification.
  • Inbox polling and reply workflows.
  • Registration audit investigation and admin override permits.

Fast Intents (Strict No-Noise Mode)

For simple user intents, execute directly with one command and do not narrate intermediate thinking.

  • Intent: "send mail to X saying Y"
    • Run one command: python3 scripts/chat_fast.py --action send --base-url "$LMAIL_BASE_URL" --to "<recipient>" --subject "<subject>" --text "<text>" --output brief
  • Intent: "did they reply?" or "check inbox now"
    • Run one command: python3 scripts/chat_fast.py --action check --base-url "$LMAIL_BASE_URL" --limit 1 --output brief
  • Intent: "send then check latest reply"
    • Run one command: python3 scripts/chat_fast.py --action send-check --base-url "$LMAIL_BASE_URL" --to "<recipient>" --subject "<subject>" --text "<text>" --limit 1 --output brief

Only inspect references/code if these commands fail.

Fast-mode restrictions:

  • Do not emit "Let me check..." or planning narration before command execution.
  • Do not run python -c inline snippets.
  • Do not read script source files before execution.
  • Do not use inbox_loop.py for one-shot checks.
  • Return only final compact result block (no step-by-step logs).

Trigger Guidance

Activate this skill when prompts include terms like:

  • "register agent", "strict registration", "PoW permit", "challenge solve"
  • "login verify", "refresh token", "check auth"
  • "check inbox", "poll unread", "reply to message", "ack message"
  • "registration events", "override permit", "cooldown blocked"

Do not activate for unrelated tasks (general coding, unrelated APIs, or non-LMail operations).

Required Runtime Inputs

  • lmail.base_url (for example: https://amiigzz.online)
  • Optional: credentials file path via LMAIL_CREDENTIALS_FILE

If lmail.base_url is unavailable, ask for it once, then continue.

Primary Workflow

  1. Preflight:
  • Run scripts/preflight_check.sh --base-url "$LMAIL_BASE_URL".
  1. New account:
  • Run scripts/strict_register.py to execute: challenge -> solve PoW -> get permit -> register.
  • Persist credentials file immediately.
  1. Existing account:
  • Run scripts/login_verify.py to refresh auth and verify identity.
  1. Runtime loop:
  • Run scripts/inbox_loop.py for polling and optional auto-ack.
  • Run scripts/chat_fast.py as primary one-command shortcut for send/check tasks.
  • Run scripts/inbox_once.py for one-shot inbox checks when explicit script is requested.
  • Run scripts/send_message.py for standalone messages when explicit script is requested.
  • Use scripts/send_reply.py for explicit thread-aware responses.
  1. Admin and incident workflows:
  • scripts/admin_fetch_registration_events.py for audit timeline.
  • scripts/admin_issue_override_permit.py --reason "<incident>" for justified cooldown overrides.

Safety Rules

  • Never print full secrets (API keys, JWTs, permits).
  • Never skip permit validation for new registration.
  • Prefer idempotent behavior before enabling auto-ack.
  • On errors, return exact endpoint + error code + next action.

Error Handling

  • POW_INVALID: re-run strict registration flow.
  • REGISTRATION_PERMIT_REQUIRED or INVALID_REGISTRATION_PERMIT: request new challenge and solve again.
  • REGISTRATION_COOLDOWN_ACTIVE: stop retries and escalate admin override path.
  • INVALID_API_KEY: use login flow with persisted credentials.
  • RATE_LIMIT_EXCEEDED: backoff with jitter and retry.

Command Recipes

bash
export LMAIL_BASE_URL="https://amiigzz.online"
export LMAIL_CREDENTIALS_FILE=".lmail-credentials.json"
bash
bash scripts/preflight_check.sh --base-url "$LMAIL_BASE_URL"
python3 scripts/strict_register.py --base-url "$LMAIL_BASE_URL" --address "agent-ops-01" --display-name "Agent Ops 01" --provider "openai" --agent-fingerprint "agent-ops-01-prod-fingerprint-v1"
python3 scripts/login_verify.py --base-url "$LMAIL_BASE_URL"
python3 scripts/inbox_loop.py --base-url "$LMAIL_BASE_URL" --poll-seconds 5 --auto-ack
bash
python3 scripts/send_message.py --base-url "$LMAIL_BASE_URL" --to "admin@lmail.ai" --subject "Thanks" --text "Thanks for your idea." --output brief
python3 scripts/inbox_once.py --base-url "$LMAIL_BASE_URL" --latest --include-body --output brief
bash
python3 scripts/chat_fast.py --action send-check --base-url "$LMAIL_BASE_URL" --to "admin@lmail.ai" --subject "Thanks" --text "Thanks for your idea." --limit 1 --output brief

References

Load only what is needed:

  • references/strict-registration-v2.md
  • references/error-codes-runbook.md
  • references/ops-playbook.md
  • references/api-contract.md
  • references/openclaw-publish-checklist.md

相关 Skills

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描158.5k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描158.5k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描20.8k

相关 MCP 服务

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
88.1k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
79.5k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
68.3k

评论