GEO INFER GIT

From ActiveInferenceInstitute/GEO-INFER · View interactive version

GEO INFER GIT is an AI agent skill from the GitHub repository ActiveInferenceInstitute/GEO-INFER. Git repository cloning, management, and REST API tooling for geospatial projects. Use when cloning many GitHub repositories (by user or by list), managing local git worktrees, analyzing repositories, or running the GEO-INFER-GIT FastAPI service.

How to use this skill

Skill file

GEO-INFER-GIT

Instructions

Core Capabilities

Key Imports

from geo_infer_git.core.repo_manager import RepoManager
from geo_infer_git.core.repo_cloner import RepoCloner
from geo_infer_git.core.github_api import GitHubAPI
from geo_infer_git.core.multi_platform_api import MultiPlatformAPI
from geo_infer_git.core.repo_analyzer import RepositoryAnalyzer
from geo_infer_git.api import app, run_api

Examples

from geo_infer_git.core.repo_manager import RepoManager
from geo_infer_git.core.repo_cloner import RepoCloner
from geo_infer_git.utils.config_loader import CloneConfig

# Manage local git worktrees under a base directory
manager = RepoManager(config_path="config/example.yaml")
status = manager.check_repo_status()  # dict of repo name -> status

# Clone repositories in parallel
config = CloneConfig(output_dir="./cloned_repositories", max_workers=4)
cloner = RepoCloner(config)
results = cloner.clone_multiple_repositories([("owner", "repo", "main")])
cloner.close()

# GitHub search + filtering (requires network and optionally GITHUB_TOKEN)
from geo_infer_git.core.github_api import GitHubAPI

github = GitHubAPI()
repos = github.search_repositories("geospatial", language="Python", max_results=10)
filtered = github.filter_repositories(repos, min_stars=10, exclude_forks=True)

CLI

The package installs a geo-infer-git console script (geo_infer_git.cli:main) with

clone, sync, status, and branch commands over RepoManager.

Agent interfaces

Use uv run --frozen geo-infer catalog GIT to discover public source

APIs, then geo-infer describe before calling a selected target. Scripts use

geo_infer_api.agent_runtime.AgentSession; the optional stdio MCP server is

geo-infer-mcp. See requests, native objects and composition.

The adapter retains this module's dependencies and authorization requirements.

Guidelines

constructing them has no filesystem side effects.

directory that lack a .git folder; unrelated files are never touched.

Data versioning, workflow, and deployment endpoints are descoped: no backing

domain behavior exists in src/geo_infer_git for them.

Integrations

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.