Software DevelopmentOfficial · apify

Apify Fix Git Connection skill for Claude

Repair an Apify Actor's broken Git connection - pushes to GitHub that no longer start a build, builds that fail to clone the repository, or a GitHub integration rejected as invalid or expired (for example after Apify API tokens were revoked).

When Claude uses it

Use when a Git-sourced Actor stopped deploying from its repository.

Apify Fix Git Connection SKILL.md

A preview of the skill file from apify/agent-skills.

Fix an Actor's Git connection

A Git-sourced Actor deploys through two links, and each one breaks on its own:

  • Clone: Apify reads the repository when it builds.
  • Trigger: a push to the repository starts that build.

Diagnose both links, repair the broken ones, then prove the chain with one push. Runs keep using the last successful build the whole time, so the Actor stays up while you work.

The steps use the Apify CLI (apify login first) and the GitHub CLI (gh). They are written for GitHub; GitLab and Bitbucket have the same two links behind different commands and screens.

Two rules hold in every step:

  • Ask before a deploy. A successful build moves the version's build tag (usually latest) to the head of the branch, so starting a build and pushing a commit are both deploys. Get the user's go-ahead for each.
  • Tokens stay with the user. A webhook URL embeds an Apify API token. Print only its host, as the commands below do, and judge a delivery by its status code: its response body repeats the URL. The user performs every step that handles a key, a token or that URL.

1. Find the Git version

apify api GET '/v2/actors/<username>~<actor-name>'
apify api GET '/v2/actors/<username>~<actor-name>/builds?desc=true&limit=5'

In versions, take the entry with sourceType: "GIT_REPO" and note its versionNumber, gitRepoUrl and buildTag. In taggedBuilds, note the build that tag points at. An Actor with no GIT_REPO version deploys with apify push and is outside this skill.

Read the full SKILL.md on GitHub →

How to install Apify Fix Git Connection

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit apify/agent-skills/skills/apify-fix-git-connection#main ~/.claude/skills/apify-fix-git-connection

Codex

npx degit apify/agent-skills/skills/apify-fix-git-connection#main ~/.codex/skills/apify-fix-git-connection

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+What does the Apify Fix Git Connection skill do?

Repair an Apify Actor's broken Git connection - pushes to GitHub that no longer start a build, builds that fail to clone the repository, or a GitHub integration rejected as invalid or expired (for example after Apify API tokens were revoked). Use when a Git-sourced Actor stopped deploying from its repository.

+How do I install Apify Fix Git Connection in Claude Code?

Copy the skill folder into ~/.claude/skills/apify-fix-git-connection, for example with "npx degit apify/agent-skills/skills/apify-fix-git-connection#main ~/.claude/skills/apify-fix-git-connection". Claude Code loads it automatically and uses it when a task matches.

+Does Apify Fix Git Connection work with ChatGPT or Codex?

Yes. Apify Fix Git Connection uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/apify-fix-git-connection. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Apify Fix Git Connection free?

Apify Fix Git Connection is published on GitHub by apify. The repository does not declare a license, so check with the author before reusing it.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. Apify Generate Output Schema

    Official

    Deprecated. Output schema generation moved to the apify-actor-development skill; prefer that skill whenever it is available.

    apify/agent-skills★ 2.5k
  5. Apify Integration Development

    Official

    Design and build an official Apify integration for a company's product - workflow-automation apps (Zapier/n8n-style), AI agent plugins…

    apify/agent-skills★ 2.5k
  6. Code Review

    Official

    Perform code reviews following Sentry engineering practices. Use when reviewing pull requests, examining code changes, or providing…

    getsentry/skills★ 1.2k
  7. Create Branch

    Official

    Create a git branch following Sentry naming conventions. Use when asked to "create a branch", "new branch", "start a branch", "make a…

    getsentry/skills★ 1.2k
  8. Document Api Endpoint

    Official

    Document and type a Sentry API endpoint. Write or fix @extend_schema decorators, specify response TypedDicts, type request parameters,…

    getsentry/skills★ 1.2k
  9. Pr Link Issue

    Official

    Append a GitHub issue link and its Linear ticket to the current PR's description.

    getsentry/skills★ 1.2k

See all software development skills →

More skills from apify

  1. Apify Ultimate Scraper

    Official

    Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, LinkedIn, X/Twitter, Google Maps,…

    apify/agent-skills★ 2.5k

All skills by apify →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.