Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

keboola-git

БесплатноБез исполняемых скриптовНе проверен

Use when accessing a Keboola-managed Git (Forgejo) repo for a python-js data app via the kbagent CLI — provisioning the repo, finding its clone URL (data-app…

keboolaот keboola★ 17 звёзд на GitHub

Об этом скилле

Keboola-Managed Git (Forgejo) for Data Apps

Keboola python-js data apps can host their source in a Keboola-managed Git repo (Forgejo) instead of GitHub. This skill gives you the context to access those repos through the kbagent CLI: provision a repo, mint a push credential, push source in with raw git, and deploy. kbagent has no repo-copy helper — you drive git clone / git remote add / git push yourself.

What this does / when not

Use this for: reading or writing a managed Forgejo repo for a python-js data app; moving an app's source between GitHub and Keboola git; pushing source and deploying from the managed repo.

Not for: authoring the contents of keboola-config/ (nginx, supervisord, setup.sh) — that's the dataapp-developer:dataapp-development skill, which also covers Streamlit app development. This skill assumes the app source already exists somewhere; it handles the git plumbing to get it into Keboola and deployed.

Source already on GitHub? Consider not copying it

If the app's source is in a GitHub repo (github.com, or a GHE host the stack is configured for; the MCP takes only *.ghe.com ones), the app can deploy straight from that repo with organization auth. The platform reads it through the Keboola organization's GitHub App connection, so there is no copy into Keboola git, no PAT and no 15MB push cap. Offer it before copying, and before asking for a PAT or SSH key:

# a new app on the GitHub repo -- create deploys it, no separate deploy
kbagent data-app create --project <alias> --name "<Display Name>" --slug <slug> \
  --git-repo https://github.com/<org>/<repo> --git-auth organization --git-branch main --type python-js --wait

# an existing app already on an EXTERNAL repo (PAT / SSH key) -- git-auth-set never deploys
kbagent data-app git-auth-set --project <alias> --app-id <id> --git-auth organization
kbagent data-app deploy --project <alias> --app-id <id> --wait

An app on a Keboola-managed repo can't switch. The managed repo is fixed when the app is created, and both git-auth-set and the MCP rebind refuse it. Every app created from the Keboola Apps page is one. For such an app, either copy the code into its managed repo (the rest of this skill), or create a new app on the GitHub repo, but only once the user agrees to a second app next to the managed one.

Confirm the prerequisites before creating: a missing connection only shows up at deploy time. create --wait then deletes the new app again (unless --keep-on-failure), so the user ends up with nothing deployed.

Through MCP it's modify_python_js_data_app(git_repository="https://github.com/<org>/<repo>", git_auth="organization", branch="main"). Prerequisites: the Keboola GitHub App installed on the GitHub organization and that organization connected to the Keboola organization, both done by someone who is a Keboola organization admin and an owner of the GitHub organization (https://help.keboola.com/management/organization/#connect-github). Limits: https URLs only, github.com or a GHE host the stack is configured for. Drafts and previews run through the MCP draft flow with a push token that expires in about an hour (dataapp-developer skill, python-js-prod-and-drafts.md). The app has no managed repo, so the rest of this skill doesn't apply to it. Copy into Keboola git instead when the repo isn't on GitHub or the organization can't be connected. Details and errors: plugins/dataapp-developer/skills/dataapp-development/references/github-organization-auth.md.

Working Directory Context

All git and kbagent operations run from the user's project root or a scratch clone created under the user's CWD — never from this skill/plugin directory.

  • Do clone/copy work in ./.keboola-git-work/<app>/ under the user's CWD. Add .keboola-git-work/ to the project .gitignore so the scratch clone is never committed.
  • Before any in-place git operation on an existing repo, validate it's a worktree: git rev-parse --is-inside-work-tree.
  • Never run git commands against the plugin install directory.

Prerequisites

  1. kbagent installed and on PATH (kbagent --version). Install the kbagent plugin from this marketplace with /plugin install kbagent@keboola-claude-kit, then run /kbagent:setup to install the CLI. Usage: the kbagent:kbagent skill.
  2. Project registered with kbagent (one-time per project):
    kbagent --json project add --alias <alias> --url <stack-url> --token-env KBC_TOKEN
    
  3. Conversation id exported once per shell session:
    export KBAGENT_CONVERSATION_ID=$(uuidgen)
    
  4. Always pass --json so you can parse app_id, https_url and the credential secret reliably. The output is under .data.
  5. An admin Storage token for the project. git-credentials-create refuses any other token (403).

1. Access the managed repo

Existing app — find it:

kbagent --json data-app list --proje
Полный SKILL.md на GitHub

Установить keboola-git в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

*

Вложенные файлы

references/managed-git.md

FAQ

Что делает скилл keboola-git?

Use when accessing a Keboola-managed Git (Forgejo) repo for a python-js data app via the kbagent CLI — provisioning the repo, finding its clone URL (data-app git-repo), minting a push credential with data-app git-credentials-create, pushing source to Keboola git, copying source between GitHub and Keboola git, working around the ~15MB / HTTP 413 push cap with build-at-deploy, deploying a data app from its managed git repo, or deciding whether to copy a GitHub repo into Keboola git or deploy straight from GitHub with organization auth (no PAT). Triggers: kbagent, Keboola managed git, Forgejo, data app repo, clone URL, create git credential, push to Keboola git, build-at-deploy, HTTP 413, deploy from git, organization GitHub auth.

Как установить скилл keboola-git?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл keboola-git запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить keboola-git с