skills/jimeng-login/SKILL.md
即梦AI平台(jimeng.jianying.com)浏览器登录。当需要操作即梦数字人、视频生成等功能前检测到未登录时触发。处理协议同意、抖音OAuth扫码、登录态持久化。
npx skillsauth add aaaaqwq/agi-super-team jimeng-loginInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
判断即梦是否已登录:
检测方式:对即梦页面做 snapshot,查找 menuitem "登录" 元素。存在则未登录。
点击"登录"按钮后弹出"同意协议后前往登录"对话框。
关键坑点:aria-ref 点击"同意"按钮经常超时。用 JS 点击:
// snapshot 中按钮 ref 可能超时,改用 evaluate
() => {
const all = document.querySelectorAll('[role="dialog"] button');
const results = [];
all.forEach(el => results.push({ tag: el.tagName, text: el.textContent, class: el.className }));
return results;
}
找到 class 包含 agree-button 的按钮后:
() => {
const btn = document.querySelector('[class*="agree-button"]');
if (btn) { btn.click(); return 'clicked'; }
return 'not found';
}
同意协议后,即梦会弹出新标签页跳转到 open.douyin.com 的抖音授权页面(不是页内弹窗)。
操作步骤:
browser tabs 查找 title 包含"抖音授权"的标签页message 工具将截图发送给用户(media 参数传本地图片路径)注意:多次点击登录会产生多个抖音授权标签页,只需取最新的一个。
用户扫码后,抖音授权标签页会自动关闭/跳转,即梦主页面刷新为已登录状态。
验证方式:对即梦主页面截图,确认左下角不再显示"登录",而是用户头像。
登录态自动保存在 Chrome user-data 目录:
~/.openclaw/browser/openclaw/user-data
下次 browser start profile=openclaw 启动时自动保持登录。
可选:导出 cookies 备份到 memory/jimeng-cookies-backup.json:
() => { return document.cookie; }
| 问题 | 解决方案 |
|------|---------|
| "同意"按钮 aria-ref 点击超时 | 用 JS evaluate 通过 class 选择器点击 |
| 登录后页面没变化 | 刷新即梦主页面(navigate 回原 URL) |
| open_id cross app 错误 | 发送图片用 message 工具而非直接调飞书 API |
| 多个抖音授权标签页 | 用 browser tabs 列出,只操作最新的,关闭多余的 |
| 二维码过期 | 关闭抖音授权标签页,重新点击即梦登录按钮 |
development
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.