Xpersona
T

Tistory Publish

CLAWHUB · Unverified

Automate Tistory blog publishing via OpenClaw Playwright CDP. Supports any post format — handles TinyMCE editor manipulation, OG card insertion, banner uploa... Skill: Tistory Publish Owner: garibong-labs Summary: Automate Tistory blog publishing via OpenClaw Playwright CDP. Supports any post format — handles TinyMCE editor manipulation, OG card insertion, banner uploa... Tags: latest:5.1.4 Version history: v5.1.4 | 2026-03-28T14:50:03.766Z | user Remove internal templates (mk-review, anthropic-daily, openclaw-release). login.sh requires --cred-file arg. No internal paths in

62
Rank
84
Safety
1.4k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.4K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17erq91vaqjxyyx47mr6hkq2183hwed:tistory-publish
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-garibong-labs-tistory-publish/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

151,114 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: tistory-publish
description: Automate Tistory blog publishing via OpenClaw Playwright CDP. Supports any post format — handles TinyMCE editor manipulation, OG card insertion, banner upload, tag registration, category setting, and representative image selection. Includes template presets (mk-review, simple-post). Works around Tistory's isTrusted event filtering.
runtime:
  - python3
  - playwright
  - node (optional, for banner generation)
credentials:
  - purpose: Kakao login for Tistory session recovery (used only by scripts/login.sh --cred-file)
    required: false
    format: '{"email": "...", "password": "..."}  or  email: ...\npassword: ...'
    note: Path is user-specified via --cred-file or TISTORY_CRED_FILE env var
---

# Tistory Publish

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

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

## 전제 조건

- OpenClaw 브라우저 서비스 (Chrome CDP, 기본 port 18800)
- 티스토리 카카오 로그인 완료 (OpenClaw Chrome에서)
- Python 3 + Playwright (`pip install playwright`)
- Node.js 18+ (배너 생성 시, 선택)
- (선택) 카카오 자격증명 파일 — 로그인 세션 만료 시 복구용 (`scripts/login.sh --cred-file <경로>`)
  - JSON 형식: `{"email": "...", "password": "..."}`
  - 또는 key-value 형식: `email: ...\npassword: ...`
  - `publish.sh`는 자격증명을 읽지 않음 (로그인은 `login.sh`에서만 처리)

## 구조

```
tistory-publish/
├── SKILL.md                     # 이 파일
├── scripts/
│   ├── tistory-publish.js       # 코어 — 에디터 조작 함수 모음
│   ├── publish.sh               # 범용 발행 스크립트
│   └── login.sh                 # 카카오 로그인 세션 복구
└── templates/
    └── simple-post/             # 예시: 단순 글 발행
        └── RUNBOOK.md
```

## 빠른 시작

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

# 매경 리뷰 (템플릿 사용)
bash scripts/publish.sh \
  --template mk-review \
  --article-title "기사 제목" \
  --body-file body.html \
  --banner /tmp/banner.jpg \
  --tags "매경,경제뉴스"

# 배너 + 태그 + 비공개
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` | ✅ | 카테고리 이름 (에디터에 표시되는 이름 그대로) |
| `--template` | | 템플릿 preset (mk-review, simple-post) |
| `--article-title` | | mk-review용 기사 제목 (자동 날짜 접두사) |
| `--tags` | | 쉼표 구분 태그 목록 |
| `--banner` | | 배너 이미지 파일 경로 |
| `--blog` | | 블로그 도메인 (기본: tistory.com 첫 번째 블로그) |
| `--cdp-port` | | OpenClaw Chrome CDP 포트 (기본: 18800) |
| `--helper` | | tistory-publish.js 경로 (기본: scripts/ 내) |
| `--private` | | 비공개 발행 |

### 템플릿 preset

| 이름 | 카테고리 | 블로그 | 제목 형식 | 배너 |
|------|---------|--------|----------|------|
| `simple-post` | (직접 지정) | (직접 지정) | (직접 지정) | 선택 |

> 자신만의 preset을 추가하려면 `templates/` 아래에 폴더를 만들고 `publish.sh --template <이름>` 으로 사용하세요.

## 자동 처리 항목

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

1. 새 글 페이지 열기
2. JS 헬퍼 함수 주입
3. 카테고리 선택 (ARIA combobox → Playwright click)

README.md

# tistory-publish

티스토리 블로그 범용 자동 발행 스킬. OpenClaw Playwright CDP로 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` | | 비공개 발행 |

## 기술 스택

- **브라우저**: OpenClaw Playwright CDP (`connect_over_cdp`)
- **에디터**: TinyMCE DOM API, `setContent`, `save`, native 이벤트 보조
- **배너 생성**: Node.js Canvas (`@napi-rs/canvas`, 선택)
- **OG 카드**: JS(URL 준비) + Playwright(Enter 키) 조합
- **태그**: helper 함수 + 이벤트 디스패치

## 나만의 템플릿 만들기

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

```
templates/my-template/
├── RUNBOOK.md       # 발행 순서
├── TEMPLATE.md      # 원고 작성 가이드
└── banner.js        # 배너 생성 (선택)
```

## 전제 조건

- OpenClaw 브라우저 서비스(CDP) 실행 가능 환경
- 티스토리 카카오 로그인 완료(OpenClaw Chrome)
- Python 3 + Playwright
- Node.js 18+ (배너 생성 시)

## 라이선스

MIT

_meta.json

{
  "ownerId": "kn7etm6emz9mbvy3px67qvn92180nsjn",
  "slug": "tistory-publish",
  "version": "5.1.4",
  "publishedAt": 1774709403766
}

CHANGELOG.md

# Changelog

## v5.1.2 (2026-03-28)
- OpenClaw 보안 스캔 Suspicious 지적 수정 (메타데이터 불완전)
- frontmatter에 `runtime` 및 `credentials` 필드 선언 추가
- 전제 조건에 자격증명 파일 경로 및 용도 명시
- `publish.sh`는 자격증명을 읽지 않음을 문서에 명시

## v5.1.1 (2026-03-28)
- 보안 스캔(VirusTotal/OpenClaw) 지적 수정
- `publish.sh`에서 자격증명 처리 코드 제거 → 세션 만료 시 에러 메시지 + `scripts/login.sh` 안내로 대체
- 로그인 기능을 `scripts/login.sh` 전용 스크립트로 분리

## v5.1.0 (2026-03-28)
- 카카오 로그인 세션 만료 시 자동 재로그인 기능 추가 (deprecated by v5.1.1)

## v5.0.3 (2026-03-27)
- OpenClaw security scan 지적 수정
- `banner.js`: `child_process.execSync` 제거
- `deep-dive.js`: 미사용 `child_process` import 제거

## v5.0.2 (2026-03-27)
- VirusTotal security scan 지적 수정
- `publish.sh`: Canvas Drop fallback 제거 (base64/atob 패턴), `subprocess` → `datetime` 교체
- `tistory-publish.js`: 레거시 함수에 LEGACY 주석 추가

## v5.0.0 (2026-03-27)
- **agent-browser → OpenClaw Playwright CDP 전환** (networkidle hang 해결)
- 단일 Python 스크립트 내장 (bash → Python heredoc)
- `--template` preset 지원 (mk-review, simple-post)
- `--article-title` 자동 날짜 접두사 생성
- `--cdp-port` 옵션 추가
- 배너: Playwright `set_input_files`로 업로드
- 빈 본문 방지: 발행 직전 `save()` + textarea 길이 검증
- 비공개 저장: 다이얼로그 닫힘 확인
- 레거시 삭제: `agent-browser-mk-publish.sh`, `tistory_post.py`, `tistory_post_cdp.py`

## v4.1.0 (2026-03-23)
- 본문 삽입 후 길이 검증 추가
- 발행 후 공개 페이지 재검증 추가

## v4.0.0 (2026-03-07)
- 범용 스킬로 재설계: 매경 리뷰 전용 → 어떤 포맷이든 발행 가능
- 범용 `publish.sh` 스크립트 추가
- 매경 리뷰를 `templates/mk-review/` 예시로 이동
- 단순 발행 예시 `templates/simple-post/` 추가

## v3.0.0 (2026-03-07)
- OpenClaw Playwright → agent-browser 전환
- 카테고리: JS eval → Playwright native ARIA combobox click
- 배너: base64 chunk → agent-browser upload

skill-card.md

## Description:

Automate Tistory blog publishing via OpenClaw Playwright CDP, including TinyMCE editor manipulation, OG card insertion, banner upload, tag registration, category setting, and representative image selection.

This skill is ready for commercial/non-commercial use.

## Publisher:

[garibong-labs](https://clawhub.ai/user/garibong-labs)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and content operators use this skill to prepare and publish Tistory blog posts through an authenticated OpenClaw-controlled browser session. It supports HTML body insertion, category selection, tags, image upload, OG cards, and public or private publishing workflows.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill can publish live Tistory posts through an authenticated browser session.

Mitigation: Use --private or a test blog first, then review title, body, category, tags, images, and OG cards before public publishing.

Risk: The login helper can use a Kakao credential file to recover a Tistory session.

Mitigation: Keep credential files outside shared repositories with tight file permissions, and pass them only via --cred-file or TISTORY_CRED_FILE when needed.

Risk: Untrusted body HTML or blog host values can affect browser automation and OG placeholder handling.

Mitigation: Use trusted body files and known Tistory blog domains until the evidence guidance notes that OG placeholder escaping and host validation issues are fixed.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/garibong-labs/skills/tistory-publish)

## Skill Output:

**Output Type(s):** [Text, Markdown, Code, Shell commands, Configuration, Guidance]

**Output Format:** [Markdown guidance with bash commands, HTML content expectations, and JSON status responses from scripts]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May create or update public or private Tistory posts through an authenticated browser session.]

## Skill Version(s):

5.1.4 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Tistory Publish and adjacent AI workflows.