Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问clear审计异常

galaxy-automation银河自动化

Agent Skill

galaxy-automation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

727

周安装

30

GitHub Stars

12

下载量

238
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:galaxy-automation(银河自动化)
来源仓库:https://github.com/delphine-l/claude_global
仓库路径:skills/galaxy-automation
安装命令:
npx skills add https://github.com/delphine-l/claude_global --skill galaxy-automation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/delphine-l/claude_global --skill galaxy-automation

简介

galaxy-automation 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 注意该技能属于开发类,实际功能以来源仓库文档为准。

SKILL.md

Galaxy Workflow Automation with BioBlend and Planemo

Purpose

This skill provides expert knowledge for automating Galaxy workflows using BioBlend (Python Galaxy API library) and Planemo (Galaxy workflow testing and execution tool).

When to Use This Skill

Use this skill when:

  • Automating Galaxy workflow execution via API
  • Building batch processing systems for Galaxy
  • Using BioBlend to interact with Galaxy
  • Testing workflows with Planemo
  • Managing Galaxy histories, datasets, and collections programmatically
  • Polling workflow invocation status
  • Implementing error handling and retry logic for Galaxy operations
  • Creating Galaxy automation pipelines
  • Integrating Galaxy into larger bioinformatics workflows

This skill is NOT project-specific - it's useful for ANY Galaxy automation project.

Supporting Files

Detailed reference material is split into separate files:

  • bioblend-reference.md -- BioBlend API patterns: connection, history management, workflow invocation, status checking, error handling, rerun API, dataset operations, and collections
  • planemo-reference.md -- Planemo command structure, job YAML format, programmatic command generation, output parsing, and Galaxy API curl/authentication patterns
  • automation-patterns.md -- Thread-safe operations, batch processing, resume capability, and debugging (history inspection, invocation step analysis)

Security Best Practices

1. API Key Management

Store in environment variables:

import os

api_key = os.environ.get('GALAXY_API_KEY')
if not api_key:
    raise ValueError("GALAXY_API_KEY environment variable not set")

gi = GalaxyInstance(url, api_key)

Mask in logs:

def mask_api_key(key):
    """Mask API key for display"""
    if len(key) <= 8:
        return '*' * len(key)
    return f"{key[:4]}{'*' * (len(key) - 8)}{key[-4:]}"

masked_key = mask_api_key(api_key)
print(f"Using API key: {masked_key}")

2. Path Handling

Always quote paths in shell commands:

# Good - handles spaces
command = f'planemo run "{workflow_path}" "{job_yaml}"'

# Bad - breaks with spaces
command = f'planemo run {workflow_path} {job_yaml}'

Common Pitfalls

  1. Planemo failures vs Galaxy failures

- Planemo return code!= 0: Workflow was NOT launched, no invocation exists - Invocation state = 'failed': Workflow was launched but Galaxy job failed - Don't confuse these two failure modes

  1. Concurrent uploads

- Too many simultaneous uploads can overwhelm Galaxy - Use max_concurrent limits (typically 3-5) - Consider --simultaneous_uploads vs sequential

  1. Dataset state checking

- Don't invoke workflows before uploads complete - Always wait for dataset state = 'ok'

  1. History name conflicts

- Use unique history names (add timestamps or suffixes) - Check for existing histories before creating

  1. Return code interpretation

- os.system() shifts exit codes (exit 1 -> return 256) - Use return_code >> 8 to get actual exit code

  1. Invocation ID recovery

- Terminal disconnection loses invocation ID - Always save invocation IDs to file immediately - Use --test_output_json with planemo


Best Practices Summary

  1. Use environment variables for API keys
  2. Mask API keys in logs and output
  3. Quote all file paths in shell commands
  4. Implement thread-safety for concurrent operations
  5. Save state frequently for resume capability
  6. Wait for dataset uploads before invoking workflows
  7. Poll invocation status with reasonable intervals (30-60s)
  8. Distinguish planemo failures from Galaxy failures
  9. Implement proper error handling and retry logic
  10. Use unique history names to avoid conflicts

Galaxy MCP Connection

When using the Galaxy MCP tools (mcp__Galaxy__*), connect at the start of each session.

Connection Pattern

MCP tools cannot read shell environment variables directly. Resolve them via Bash first:

# Resolve env vars
echo "$GXYVGP"   # Galaxy instance URL
echo "$MAINKEY"   # API key

Then pass the resolved values:

mcp__Galaxy__connect(url="<resolved_url>", api_key="<resolved_key>")

Known Instances

Env VarInstanceNotes
$GXYVGPhttps://vgp.usegalaxy.orgVGP production, user: delphinel (admin)
$MAINKEYAPI key for VGP instanceUsed with $GXYVGP

Related Skills

  • galaxy-tool-wrapping: For creating Galaxy tool wrappers
  • galaxy-workflow-development: For creating Galaxy workflows
  • vgp-pipeline: VGP-specific orchestration (uses this skill as dependency)

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.15%
按下载量换算67

windsurf

21.96%
按下载量换算52

OpenCode

18.14%
按下载量换算43

Codex

12.26%
按下载量换算29

Antigravity

7.82%
按下载量换算19

Gemini CLI

3.33%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills