Skip to content

Add support for exporting an agent from a Git Repository URL for all formats #34

@gtshepard

Description

@gtshepard

Problem

No support for exporting an agent from a Git Repository URL

gitagent export currently appears to support only local paths via -d, --dir <dir>. This requires cloning a repository locally before exporting an agent, which adds unnecessary steps and friction.

This is inconsistent with gitagent run -r, which already accepts a repository URL directly, for example:

gitagent run -r https://<git-host>/<org>/<repo> -a claude

Solution

Add support for exporting an agent directly from a Git repository URL, without requiring a prior local clone.

gitagent export -r https://<git-host>/<org>/<repo>/agents/<agent> -f claude-code -o .claude/agents/<agent>.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions