create-telegraph-pages
БесплатноЗапускает вложенные скриптыНе проверенPrepare and publish one explicitly authorized public Telegra.ph article through the official Telegraph API, including safe node conversion, optional account…
от narumiruna★ 19 звёзд на GitHubОб этом скилле
Creating Telegraph Pages
Use the bundled scripts/telegraph.py by absolute path. A page is a public external write. An exact request authorizes one page only when final title, content, and any byline/link are explicit; otherwise present those fields for approval before publishing. Account creation is a separate external-state change.
Prepare
- Preserve the user's language and wording unless editing was requested. Reject secrets, private data, and local-only asset links.
- Convert the body to a temporary JSON array of Telegraph nodes. Text may be a string; elements use
tag, optionalattrs, and optionalchildren. - Allow only
a,aside,b,blockquote,br,code,em,figcaption,figure,h3,h4,hr,i,iframe,img,li,ol,p,pre,s,strong,u,ul, orvideo. Attributes are string-valuedhreforsrc. Convert larger Markdown headings toh3/h4and keep encoded content at or below 64 KB. - Record an explicit byline decision along with the final title, links, node structure, and one-page publication scope. Approve either exact author values or no public byline; do not infer omission from missing fields.
Credentials and Account Boundary
Do not preflight, read, or print credentials. Invoke the helper directly; for create-page, it automatically resolves a non-empty TELEGRAPH_ACCESS_TOKEN, then an explicit trusted --token-file, then $XDG_CONFIG_HOME/telegraph/access-token (or ~/.config/telegraph/access-token). Only if the helper reports that no usable credential exists should you request a token or propose account creation. Never place a token in arguments, repository files, captured output, logs, or the response.
Only when no usable token exists, obtain separate approval for account creation, short name, and a new secret-file path. Then run:
uv run --no-project python "$SKILL_DIR/scripts/telegraph.py" create-account \
--short-name '<approved-name>' \
--token-file '<approved-secret-path>'
The helper refuses overwrite, uses owner-only permissions, and redacts token/auth URL output. Do not read the token through a captured-output tool or create replacement accounts to avoid credential recovery.
Publish and Verify
With exact publication authorization and SKILL_DIR resolved to this skill directory:
uv run --no-project python "$SKILL_DIR/scripts/telegraph.py" create-page \
--title '<approved-title>' \
--author-name '<approved-author-or-empty>' \
--author-url '<approved-author-url-or-empty>' \
/tmp/telegraph-content.json
For another existing token file, add --token-file '<trusted-secret-path>'; the helper reads it internally so its contents do not enter captured output.
Pass the approved byline values explicitly. To suppress account-default identity, include --author-name '' --author-url ''; omitting these fields can publish the account's default author name or URL.
Require an https://telegra.ph/... result, then fetch or open the public page and verify title, byline, links, and content structure. Report the URL and any unavailable check. Remove sensitive temporary drafts after successful publication.
On invalid credentials, stop and request a valid token. Fix deterministic node validation errors before one retry; do not repeatedly retry ambiguous, rate, or service errors. Preserve enough error detail to diagnose without revealing secrets.
Установить create-telegraph-pages в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-telegraph-pages?
Prepare and publish one explicitly authorized public Telegra.ph article through the official Telegraph API, including safe node conversion, optional account setup, credential handling, and page verification.
Как установить скилл create-telegraph-pages?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-telegraph-pages запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic