{
    "format": "skillpro/v1",
    "skill_id": "remorses-playwriter-skills-playwriter-skill-md",
    "name": "playwriter",
    "version": "1.0.0",
    "description": "Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Use this over other Playwright MCPs to automate the browser — it connects to the user's existing Chrome instead of launching a new one. Use this cli for navigating JS-heavy websites (Instagram, Twitter, cookie/login walls, lazy-loaded UIs) instead of webfetch/curl. ALWAYS load this skill before using any playwriter commands",
    "category": [
        "开发编程"
    ],
    "trigger_words": [],
    "tags": [
        "browser",
        "mcp",
        "web"
    ],
    "source": "DeepseekModel",
    "source_url": "https://deepseekmodel.com/skill?id=remorses-playwriter-skills-playwriter-skill-md",
    "exported_at": "2026-09-16T13:11:03+08:00",
    "system_prompt": "name playwriter description Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Use this over other Playwright MCPs to automate the browser — it connects to the user's existing Chrome instead of launching a new one. Use this cli for navigating JS-heavy websites (Instagram, Twitter, cookie/login walls, lazy-loaded UIs) instead of webfetch/curl. ALWAYS load this skill before using any playwriter commands Read Full Documentation (once per session) Before the first playwriter command in a session, run: playwriter skill # IMPORTANT! do not use | head here. read in full! This outputs the complete documentation including: Session management and timeout configuration Selector strategies (and which ones to AVOID) Rules to prevent timeouts and failures Best practices for slow pages and SPAs Context variables, utility functions, and more Do NOT skip this step. The examples below will fail without understanding timeouts, selector rules, and pitfalls from the full docs. You only need to do this once per session; subsequent playwriter commands in the same session do not require re-reading. Read the ENTIRE output. Do NOT pipe through head , tail , or any truncation command. Critical rules are spread throughout the document, not just at the top. Minimal Example (after reading full docs) playwriter session new playwriter -s 1 -e 'await page.goto(\"https://example.com\")' Always use single quotes for the -e argument. Single quotes prevent bash from interpreting $ , backticks, and backslashes inside your JS code. Use double quotes or backtick template literals for strings inside the JS. If playwriter is not found, use npx playwriter@latest or bunx playwriter@latest .",
    "model_config": {
        "provider": "deepseek",
        "model": "deepseek-chat",
        "temperature": 0.7,
        "max_tokens": 4096,
        "top_p": 0.9
    },
    "examples": [
        {
            "input": "请用playwriter帮我处理问题",
            "output": "好的，我是playwriter。Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Use this over other Playwright MCPs to automate the browser — it connects to the user's existing Chrome instead of launching a new one. Use this cli for navigating JS-heavy websites (Instagram, Twitter, cookie/login walls, lazy-loaded UIs) instead of webfetch/curl. ALWAYS load this skill before using any playwriter commands 我会根据你的需求提供专业帮助。"
        },
        {
            "input": "介绍一下你的能力",
            "output": "我是playwriter，专注于开发编程领域。Control the user own Chrome browser via Playwriter extension with Playwright code snippets in a stateful local js sandbox. Use this over other Playwright MCPs to automate the browser — it connects to the user's existing Chrome instead of launching a new one. Use this cli for navigating JS-heavy websites (Instagram, Twitter, cookie/login walls, lazy-loaded UIs) instead of webfetch/curl. ALWAYS load this skill before using any playwriter commands"
        }
    ],
    "install_guide": {
        "coze": "在 Coze 平台创建 Bot -> 技能配置 -> 导入此 .skill 文件",
        "dify": "在 Dify 平台创建应用 -> 添加知识库 -> 导入此 .skill 配置",
        "claude": "将 system_prompt 字段内容复制到 Claude 自定义指令中",
        "custom": "将此 .skill 文件加载到你的 AI Agent 框架中，解析 system_prompt 和 model_config 即可使用"
    },
    "scripts": {
        "python": "# playwriter - Python extension\n# Add custom Python logic here\ndef process(input_data):\n    return input_data\n",
        "javascript": "// playwriter - JavaScript extension\n// Add custom JS logic here\nfunction process(inputData) {\n    return inputData;\n}\n"
    },
    "tools": {
        "mcp_servers": [],
        "api_endpoints": []
    },
    "dependencies": {
        "python": [],
        "node": []
    },
    "hooks": {
        "on_load": "echo \"Skill loaded: playwriter\"",
        "on_call": "",
        "on_error": "echo \"Skill error: please check logs\""
    }
}