TopRank Skills

Home / Claw Skills / Git / GitHub / tistory-publish
Official OpenClaw rules 36%

tistory-publish

Automate Tistory blog publishing via agent-browser (Playwright CLI). Supports any post format — handles TinyMCE editor manipulation, OG card insertion, banner upload, tag registration, category setting, and representative image selection. Includes template examples (newspaper review, simple post). Works around Tistory's isTrusted event filtering.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 tistory-publish 技能。 若已安装,则直接安装 tistory-publish 技能。

Overview

Skill Key
garibong-labs/tistory-publish
Author
garibong-labs
Source Repo
openclaw/skills
Version
-
Source Path
skills/garibong-labs/tistory-publish
Latest Commit SHA
2fa68e6e3f897eba569f3af76a62e6aa7bc4bbf4

Extracted Content

SKILL.md excerpt

# Tistory Publish

티스토리 블로그 범용 자동 발행 스킬. 어떤 형식의 글이든 agent-browser로 자동 발행할 수 있습니다.

Tistory Open API 종료(2024.02) 이후 유일한 자동화 경로인 브라우저 자동화를 제공합니다.

## 전제 조건

- [agent-browser](https://github.com/anthropics/agent-browser) CLI + 프로필 (Kakao 로그인 완료)
- Node.js 18+ (배너 생성 시, 선택)

## 구조

```
tistory-publish/
├── SKILL.md                     # 이 파일
├── scripts/
│   ├── tistory-publish.js       # 코어 — 에디터 조작 함수 모음
│   └── publish.sh               # 범용 발행 스크립트
└── templates/
    ├── mk-review/               # 예시: 신문 리뷰 (배너+OG 4개)
    │   ├── RUNBOOK.md
    │   ├── TEMPLATE.md
    │   ├── banner.js
    │   ├── deep-dive.js
    │   └── IMAGE-MAP.md
    └── simple-post/             # 예시: 단순 글 발행
        └── RUNBOOK.md
```

## 빠른 시작

```bash
# 가장 단순한 발행
bash scripts/publish.sh \
  --title "글 제목" \
  --body-file body.html \
  --category "카테고리명" \
  --blog "your-blog.tistory.com"

# 배너 + 태그 + 비공개
bash scripts/publish.sh \
  --title "글 제목" \
  --body-file body.html \
  --category "카테고리명" \
  --banner /tmp/banner.jpg \
  --tags "태그1,태그2,태그3" \
  --private
```

## 발행 스크립트 옵션 (`publish.sh`)

| 옵션 | 필수 | 설명 |
|------|------|------|
| `--title` | ✅ | 글 제목 |
| `--body-file` | ✅ | 본문 HTML 파일 경로 |
| `--category` | ✅ | 카테고리 이름 (에디터에 표시되는 이름 그대로) |
| `--tags` | | 쉼표 구분 태그 목록 |
| `--banner` | | 배너 이미지 파일 경로 |
| `--blog` | | 블로그 도메인 (기본: tistory.com 첫 번째 블로그) |
| `--helper` | | tistory-publish.js 경로 (기본: scripts/ 내) |
| `--private` | | 비공개 발행 |

## 자동 처리 항목

스크립트가 순서대로 처리:

1. 새 글 페이지 열기
2. JS 헬퍼 함수 주입
3. 카테고리 선택 (ARIA combobox → Playwright click)
4. 제목 입력 (base64 디코딩으로 한글 처리)
5. 본문 HTML 삽입
6. 배너 이미지 업로드 (첨부→사진 메뉴 → file input)
7. OG 카드 생성 (placeholder URL → Enter 키 → 카드 렌더링)
8. 대...

README excerpt

# tistory-publish

티스토리 블로그 범용 자동 발행 스킬. agent-browser(Playwright CLI)로 TinyMCE 에디터를 조작해 어떤 형식의 글이든 자동 발행합니다.

## 왜 브라우저 자동화?

티스토리 Open API가 2024년 2월에 종료됐습니다. 공식 API 없이 발행하려면 브라우저를 직접 제어하는 수밖에 없습니다.

## 빠른 시작

```bash
# 설치
clawhub install tistory-publish

# 가장 단순한 발행
bash scripts/publish.sh \
  --title "글 제목" \
  --body-file body.html \
  --category "카테고리명" \
  --blog "your-blog.tistory.com"
```

## 기능

- **본문 삽입**: HTML → TinyMCE 에디터 (`data-ke-*` 속성 지원)
- **OG 카드**: URL placeholder → 자동 카드 렌더링 (`isTrusted` 우회)
- **배너/이미지**: 파일 업로드 → 대표이미지 자동 설정
- **카테고리**: ARIA combobox 자동 선택
- **태그**: nativeSetter 패턴으로 `isTrusted` 필터링 우회
- **공개/비공개**: `--private` 플래그로 제어

## 구조

```
scripts/
├── tistory-publish.js    # 코어 — 에디터 조작 함수 모음
└── publish.sh            # 범용 발행 스크립트

templates/
├── mk-review/            # 예시: 신문 리뷰 (배너+OG 카드)
│   ├── RUNBOOK.md
│   ├── TEMPLATE.md
│   └── banner.js
└── simple-post/           # 예시: 단순 글 발행
    └── RUNBOOK.md
```

## 발행 옵션

| 옵션 | 필수 | 설명 |
|------|------|------|
| `--title` | ✅ | 글 제목 |
| `--body-file` | ✅ | 본문 HTML 파일 경로 |
| `--category` | ✅ | 카테고리 이름 |
| `--tags` | | 쉼표 구분 태그 |
| `--banner` | | 배너 이미지 경로 |
| `--blog` | | 블로그 도메인 |
| `--private` | | 비공개 발행 |

## 기술 스택

- **브라우저**: [agent-browser](https://github.com/anthropics/agent-browser) (Playwright CLI)
- **에디터**: TinyMCE DOM API, `execCommand`, nativeSetter
- **배너 생성**: Node.js Canvas (`@napi-rs/canvas`, 선택)
- **OG 카드**: JS(URL 준비) + Playwright(Enter 키) 조합
- **태그**: nativeSetter + InputEvent + KeyboardEvent

## 나만의 템플릿 만들기

`templates/` 안에 폴더를 추가하면 됩니다:

```
templates/my-template/
├── RUNBOOK.md       # 발행 순서
├── TEMPLATE.md      # 원고 작성 가이드
└── banner.js...

Related Claw Skills

heyixuan2

bambu-studio-ai

★ 41

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

ccapton

model-alias-append

★ 0

Automatically appends the model alias to the end of every response with integrated hook functionality and configuration change detection. Use when transparency about which model generated each response is needed. Use when: providing model transparency, tracking which model generated responses, monitoring configuration changes, or ensuring response attribution.

catsmeow492

nochat-channel

★ 0

Encrypted agent-to-agent messaging via NoChat. Post-quantum E2E encryption. Add NoChat as a native channel in OpenClaw — receive DMs from other AI agents.

cazaboock9

neogriffin_security

★ 0

Multi-chain security API for AI agents. Prompt injection detection, token scam scanning, tx simulation, MEV detection, policy engine, and wallet monitoring. Solana + Base. Pay with SURGE or USDC.

castanley

moltypics

★ 0

An image-first social feed for OpenClaw bots. Create, post, comment, like, and follow AI generated images.