Logo: Capafy Publisher

Capafy Publisher

Communautéit
Capafy
capafy-publisher

Creator-side Capafy workflow for publishing, updating, packaging, uploading, re-shipping, or managing an Agent/Skill. Also handles creator earnings, payouts, statistics, refunds, certification/KYC, review links, Agent continuation, and publisher-account switching. Generic buyer login, balance, orders, purchases, subscriptions, and instances belong to capafy-user.

Iwwersiicht

EditeurCapafy
RepositoryCapafy-skills
Skill-Nummcapafy-publisher
Stären
47
Forks
9
Matgeliwwert Dateien
153
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 153 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Capafy huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Capafy Publisher an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/Capafy/Capafy-skills/tree/main/capafy-publisher
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Capafy/Capafy-skills.git /tmp/Capafy-skills
mkdir -p .claude/skills
cp -r /tmp/Capafy-skills/capafy-publisher .claude/skills/capafy-publisher
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Capafy Publisher an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Capafy Publisher automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Capafy Publisher net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

capafy-publisher

Use this file for entry points and rules that the host must enforce. Read publish-workflow.md for the state machine and sensitive-scan details. Read api-docs/00_overview.md for HTTP fields and platform enumerations.

ZIP installation completion

After successfully installing this skill from a ZIP, show this standalone line before continuing with login or publishing:

text
✅ Capafy publisher skill installed successfully! Version <version>

Replace <version> with version from the installed skill's api-docs/index.json. For version 0.7.9, the exact message is:

text
✅ Capafy publisher skill installed successfully! Version 0.7.9

Show the message only after installation succeeds. If installation fails or the installed version cannot be read, report the failure instead of claiming success or guessing a version.

Immediately below the success line, display the installed skill's assets/icon.png on its own line, before any login or publishing instructions. In hosts that render local Markdown images, use ![Capafy](<absolute-path-to-installed-skill/assets/icon.png>) outside a code block, with blank lines around it. Replace the placeholder with the actual absolute path inside the installed capafy-publisher directory; do not use the source repository or the original attachment path. Keep angle brackets around the path so spaces are supported.

If the host cannot render local images, use its supported image-display mechanism when available. If the image is missing or cannot be displayed, retain the installation success text and briefly state that the icon could not be displayed; this does not turn a successful installation into a failure. Do not claim that an image was displayed when rendering is unverified.

Upgrade completion

After successfully upgrading this skill, either through self-update or by replacing an older installation with a ZIP, show this standalone line before resuming publishing:

text
✅ Capafy publisher skill upgraded successfully! Version <version>

Read <version> from the upgraded skill's api-docs/index.json. For a ZIP upgrade, use this message instead of the installation message.

For self-update, show success only when the updater reports updated with no pending files, or when pending-file finalization promotes files and leaves none pending. For updated_with_pending, restart_required, or remaining pending files, explain that the upgrade needs the host to fully exit and reopen, then run python3 self_update_v2.py --finalize and confirm completion before showing success. A version number alone does not prove all files were replaced.

An available update or an already-current installation is not a completed upgrade. Report update failures or an unreadable installed version instead of showing success.

Prerequisites

  • Run scripts in this directory with python3.
  • Python 3.8 or newer is required.
  • The host must allow Python execution in this skill directory.
  • Run python3 self_update_v2.py --check before publisher commands. If the installed version is below minSupportedVersion, V2 installs the current release before the command is retried.

Read order

Read only:

  • SKILL.md
  • publish-workflow.md
  • api-docs/index.json
  • api-docs/00_overview.md

Do not read Markdown under .temp/, .pytest_cache/, dist/, or docs/.

Public commands

text
login-init
login-verify
login-token
publish-init
publish-submit
publish-status
publish-remote-status
publish-refresh-url
publish-list

Every command returns one of three JSON result shapes:

  • Success: ok: true, requires_action: false.
  • Expected pause: ok: true, requires_action: true, with action_type.
  • Failure: ok: false, status: error, requires_action: false.

Use the JSON fields, not only the exit code, to decide what happens next.

Login

  • Enter publisher login only for creator publishing or creator-account management. Generic Capafy login belongs to capafy-user.
  • Email login requires explicit acceptance of both the Terms of Service and Privacy Policy before login-init.
  • Email login flow: login-init then login-verify.
  • Use login-init's expires_in_sec from the successful send time; never assume a fixed OTP lifetime. After a failed or expired verification, run login-init for a new challenge and email code before retrying login-verify.
  • Direct token or account switching: login-token --access-token <token>.
  • If the publish request itself contains an explicitly supplied token (for example token: ..., token:..., access_token: ..., or access token: ...), including a token next to a Publisher installation request, treat it as a direct developer-Skill token handoff even when it appears alongside an install request. Run login-token before publish-init; when Publisher was just installed, run it immediately after installation. A successful validation replaces the developer Skill (capafy-publisher) root config.json token. Never fall back silently to the old local token, use capafy-user/config.json, or echo/log the supplied token.
  • Never echo a token, OTP, authorization header, or raw login response.
  • login-token validates the token through GET /agent/account before saving it.
  • Token priority is CAPAFY_ACCESS_TOKEN, then the publisher skill's local config.json.
  • Platform base URL priority is explicit --base-url, then CAPAFY_PLATFORM_BASE_URL, then the code default.

Main publish chain

text
publish-init without selections
→ creator/LLM confirms a real candidate
→ publish-init with selections
→ web confirmation of selected skills/files
→ publish-submit(action=prepare)
→ handle deep scan, dispositions, or environment-name selection locally
→ publish-submit(action=continue_upload)
→ upload the package and submit packageUrl + requiredCredentials once
→ final web review and configuration confirmation
→ publish-remote-status

Web pages serve two purposes:

  1. Confirm files and selected skills after publish-init.
  2. Review the uploaded package, confirm Run Online credentials when required, and submit the version for review after continue_upload.

When a command returns review_url, paste it verbatim, explain its purpose in one sentence, and pause. Refresh expired links with publish-refresh-url; do not rerun a publish step only to get a new link.

Non-negotiable host rules

  • MUST decide new Agent versus version update before submitting publish-init selections.
  • MUST run Phase A (publish-init without selections) before creating the selections file.
  • MUST use only candidate paths returned by Phase A; never guess or recover a local path from platform history.
  • For an update, MUST keep the original agent_id and reconcile workflowInfo.selection_groups first.
  • When review_url is returned, MUST paste it verbatim and STOP until the creator completes that web page.
  • requires_action: true is an expected pause, not a command failure.
  • MUST use publish-remote-status for platform review state; publish-status is local-only.
  • NEVER display tokens, secrets, generic.value, or raw platform responses in chat or normal CLI output.

Creator-facing language

Do not expose internal field names as if the creator already knows them. Translate them:

Internal termCreator-facing wording
--runtime-dirproject root or current workspace
--skill-dirskill source directory
--envtarget runtime
agent_idAgent ID
agent_type: run_onlineRun Online mode
agent_type: downloadDownload mode
selection_groupsskills/files selected for this release
.temp or manifestlocal draft
--reset-local-statediscard the local draft and start over
--deep-scanuse the LLM to inspect every staged file for missed sensitive values
--dispositions-filechoices for replacing or excluding sensitive Download values
--environment-selection-fileoptional local environment-variable name selection

publish-init rules

  • --env and --runtime-dir are always required.
  • --runtime-dir is the current project/workspace root, not the publisher directory and not the skill directory.
  • Use --skill-dir only for one explicit skill directory containing SKILL.md.
  • Support one selected skill or multiple selected skills in the same release. A creator-merged skill with one entry SKILL.md is one selection; preserve its internal component directories and files.
  • Preserve ./ and ../ references; they are not creator-local absolute paths. Packaging validates explicit relative Markdown link destinations against the final ZIP layout. Commands, code examples, and configuration paths may use a runtime working directory; do not resolve them relative to the document or rewrite the creator's source to satisfy this check.
  • Run discovery before submitting selections. Never invent a candidate path.
  • Submit selections with --selections-file.
  • skills[] must contain at least one real candidate.
  • Use one Agent ID source. If both the CLI and selections contain it, they must match.
  • Reuse the same runtime and explicit skill paths between discovery and submission.
  • Before updating an existing Agent, read the latest platform selection and ask whether to keep the current skill or switch.
  • Historical platform paths are logical paths, not proof of the current local filesystem location.
  • Use --reset-local-state only when the creator explicitly abandons the active local draft.

Runtime path notes and copy-pastable examples live in publish-workflow.md.

Deep scan

Run Online and Download both support deep scan.

Deep scan means the host LLM reads every file under the returned staging_path and looks for sensitive literals that the regular rule scan missed. scan_files lists the complete staging file set and marks which files can produce package findings.

Rules:

  • Ask the creator before spending the extra time and tokens.
  • Do not inspect host environment-variable values.
  • Do not recreate items already found by the rule scan.
  • Do not create url_proxy entries. Only report missed generic sensitive values.
  • Findings must use a concrete staged file as source.
  • Pass findings through --deep-scan-findings-file; never hand-edit reviewed-scan output.
  • If nothing is found, rerun publish-submit --action prepare without --deep-scan.
  • needs_deep_scan is an expected pause and exits successfully in both modes.

Mode-specific publish-submit inputs

  • --dispositions-file is Download-only. Run Online rejects it.
  • --environment-selection-file is Run Online-only. Download rejects it.
  • --deep-scan and --deep-scan-findings-file are separate steps and cannot be used together.
  • --deep-scan and --environment-selection-file cannot be used together. Complete deep scan first, then submit findings and any environment-name selection on the next publish-submit --action prepare run.
  • Normal Run Online preparation records environment-variable names only. It reads values only when the creator explicitly selects names for inclusion in the final merged submission.
  • When the creator explicitly asks to upload local values for candidate environment variables, treat that request as authorization to edit only the generated selection file's selected array and rerun publish-submit --action prepare with --environment-selection-file. If a selected value is missing locally, stop before upload; otherwise the final review page remains the human confirmation boundary.
  • Read only the exact selected environment-variable names. Never enumerate the host environment or display, log, or persist the selected values.

Status and recovery

  • publish-status shows only the local draft summary.
  • publish-remote-status --agent-id <id> shows the latest platform version and confirmed selection.
  • publish-list returns the creator's minimal Agent list for choosing an Agent ID.
  • Resume publish-submit failures from the matching local draft. Do not create a new Agent to recover from a later-step failure.
  • A rejected version must be rebuilt through the same Agent ID.
  • --reset-local-state changes local files only; it does not cancel anything on the platform.

Safety boundaries

  • Never upload login state, private keys, OAuth caches, credentials stores, or unselected host environment-variable values. Selected host environment-variable values may be uploaded only through the explicit Run Online --environment-selection-file flow above.
  • Never expose raw platform responses, signed upload URLs, presign headers, tokens, OTPs, or internal absolute paths in normal CLI output.
  • Do not edit the creator's source files during packaging. Sensitive replacement happens only in staging.
  • Do not bypass creator confirmation pages.

See publish-workflow.md for exact re-entry branches, staging rules, reviewed-scan structure, and runtime-specific examples.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

An nach 93 weider Dateien.

Heefeg gestallte Froen

Wat mécht de KI-Skill Capafy Publisher?

Creator-side Capafy workflow for publishing, updating, packaging, uploading, re-shipping, or managing an Agent/Skill. Also handles creator earnings, payouts, statistics, refunds, certification/KYC, review links, Agent continuation, and publisher-account switching. Generic buyer login, balance, orders, purchases, subscriptions, and instances belong to capafy-user.

Firwat Capafy Publisher op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Capafy Publisher besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Capafy Publisher an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/Capafy/Capafy-skills/tree/main/capafy-publisher an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Capafy Publisher benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Capafy Publisher benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Capafy Publisher domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Capafy Publisher gratis?

Jo. Capafy huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇