Skip to content
Skills Library
AI & agents · Automation

__SKILL_ID__

/__SKILL_ID__

TEMPLATE — do not install or ship skills/_template. Replace this description. Drive <site> with Ego Lite via ego-browser. Login-check first and soft-fail with exit 2 when ego-browser is missing or the site is logged out. Never type a password. Use when the user asks to <do the thing>.

Repository
ego-skills ↗
Licence
MIT
Last repository change
11.11.2026

Assessment and security

90/ 100Class: good
Format15 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
8
Scripts
4
HTML comments
0
URLs in SKILL.md
1
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 4 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/check-login.mjs, scripts/lib/ego-deps.mjs, scripts/lib/pure.mjs, scripts/test/pure.test.mjs

What it does and when to use it

TEMPLATE — do not install or ship skills/_template. Replace this description. Drive <site> with Ego Lite via ego-browser. Login-check first and soft-fail with exit 2 when ego-browser is missing or the site is logged out. Never type a password. Use when the user asks to <do the thing>.

Original author description

TEMPLATE — do not install or ship skills/_template. Replace this description. Drive <site> with Ego Lite via ego-browser. Login-check first and soft-fail with exit 2 when ego-browser is missing or the site is logged out. Never type a password. Use when the user asks to <do the thing>.

How it works

  1. 先装 Ego
  2. 每次动作前:登录闸门(必做)
  3. 输入
  4. 发布类还是下载类(写清楚再提 PR)
  5. 测试
Original SKILL.md headings · 59 lines, 264 words
SKILL.md preview
---
name: __SKILL_ID__
description: TEMPLATE — do not install or ship skills/_template. Replace this description. Drive <site> with Ego Lite via ego-browser. Login-check first and soft-fail with exit 2 when ego-browser is missing or the site is logged out. Never type a password. Use when the user asks to <do the thing>.
metadata:
  version: "0.0.0"
  requires:
    bins:
      - ego-browser
      - node
  ego:
    min_skill_guide: "2.1.0"
---

# __SKILL_ID__

> **TEMPLATE.** `npm run new-skill -- <id>` copies this directory and replaces `__SKILL_ID__`. Do not open a pull request that adds `skills/_template` as a product skill. Delete every TEMPLATE note, replace `https://example.com/login`, and write the real success state before review.

用 Ego Lite 会话完成 **<一句话目标>**。缺 `ego-browser` 或未登录时 soft-fail(退出码 `2`),不要硬调浏览器。

Do the task through Ego Lite. If `ego-browser` is missing or the site is logged out, soft-fail with exit `2`. Do not drive a browser any other way.

## 先装 Ego

先装 **Ego Lite**,保证 `ego-browser` 在 `PATH`。缺失则 soft-fail / 告知用户去装,**不要**改用 Playwright、Puppeteer 或云端浏览器。

Install **Ego Lite** and put `ego-browser` on `PATH`. If it is missing, soft-fail and tell the user. Do not switch to Playwright, Puppeteer, or a cloud browser.

## 每次动作前:登录闸门(必做)

Agent **在上传、下载或改页面之前**必须跑:

```bash
node scripts/check-login.mjs
# 需要把窗口留给人登录时:
node scripts/check-login.mjs --keep
```

| 退出码 | 含义 | Agent 做什么 |
|--------|------|----------------|
| `0` | 已登录 | 把 `login_tip` 告诉用户,继续 |
| `2` | 未登录 / 无 ego-browser | 展示 `how_to_login` / `how_to_login_zh`,**停**。请人在 Ego 里登录后再跑 |
| `1` | 其它错误 | 报告 JSON `error`,不要假装已经成功 |

详见 `references/login.md`。不要另做 cookie-healthcheck。不要代填密码,不要粘贴 Cookie,不要自动扫码。

仓库根目录:`node skills/__SKILL_ID__/scripts/check-login.mjs`。

这个模板在二进制存在时仍返回退出码 `1` 和 `TEMPLATE` 错误。换成真正的 `ego-browser nodejs` 探测后再说技能可用。`wechat-channels-video` 与 `youtube-video` 把这一步拆成 `launch-check.mjs` / `run-check.mjs`;可测试的判断留在 `scripts/lib/pure.mjs`,`ego-deps.mjs` 只放 ego 全局对象。

## 输入

调用方提供路径和文案。本技能**不**写死 `~/…` 或任何个人/产品目录。示例只用 `/tmp/...` 或 `/absolute/path/to/video.mp4`。

## 发布类还是下载类(写清楚再提 PR)

- **发布类:** 调用方提供本地视频绝对路径。技能不下载视频,不内置 yt-dlp / gallery-dl。在下面写明成功态(审核中、私密链接 + 处理状态、进入内容管理或「发布成功」文案、或已存草稿)。需要人扫码的「发表」不要自动点。
- **视频号:** 只存草稿,不点「发表」。
- **下载类:** 和发布类分开。只保存当前 Ego 登录态已经能看到的内容。

### Success state

Replace this sentence with the observable result. Until you do, this template has not succeeded at a real task.

## 测试

```bash
npm test
```

`npm test` 用 glob 收录 `skills/*/scripts/test/*.test.mjs`。c8 统计 `scripts/lib/**/*.mjs`(不含 `ego-deps.mjs`),行覆盖率不低于 80%。
Files in this package (8)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB
  • references/login.md 1 KB
  • references/tos-notes.md 1 KB
  • scripts/check-login.mjs 1 KB
  • scripts/lib/ego-deps.mjs 1 KB
  • scripts/lib/pure.mjs 4 KB
  • scripts/test/pure.test.mjs 4 KB

Versions

The database has no other skills named __SKILL_ID__.

Database snapshot: 13.11.2026 · package version 65174f94d2ab (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ego-bridge
    Install, pair, diagnose, and operate ego bridge so Linux or remote AI agents can use a Mac's ego-lite browser. Use for remote Mac browser automation, ego-bridge setup, Mac menu-bar/CLI synchronization, pairing, or bridge connectivity issues. Local browser-only tasks should use…
  • 95x-post
    Post on X (x.com / twitter.com) through the logged-in Ego Lite session. Login-check first and soft-fail with exit 2 when ego-browser is missing or x.com is logged out. Sends only with --yes after the draft is shown. Uses page.fetch CreateTweet, not the composer click path.…
  • 100ego-browser
    ego-browser (ego-lite) is a Chromium-based browser designed to be friendly to both human users and AI Agents. AI Agents work in their own isolated space, reusing the user''s login state without competing for the browser. Use this skill whenever the user needs to interact with a…
  • 100wechat-channels-video
    Publish a WeChat Channels video draft with Ego Lite via ego-browser — login-check first (sessions expire fast), upload video, fill description/short title/topics/location/cover, save draft only. Soft-fails if Channels is logged out and tells the human to scan QR inside Ego.…
  • 100ego-decision-layer
    多步线性浏览器任务(连续点击、翻页、搜索表单提交、导航跳转)的默认入口:用 `ego-decision-layer` 一条命令让决策层在单个 ego-browser 进程内闭环决策(默认 System One / Jev,可换本地 OpenAI 兼容后端;browser automation / multi-step click chain / form submit / navigation),不再每步退回大模型思考。单步动作、精确 DOM/选择器、批量抓取仍走 ego-browser 原生 API;也可把官方 ego-browser…
  • 100ego-literature-download
    Download academic paper PDFs through ego lite using the user's existing publisher or institutional login. Use for a DOI, title, article URL, or list of papers, including school WebVPN access, visible browser downloads, and PDF identity verification. Keep this workflow…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.