Skip to content

gaia-research/gaia-skill-tree / .agents/skills/fuse

Combine two AI agent skills into one. Trigger phrases: /fuse, "fuse these skills", "combine skills", "merge these two skills", "create a fusion skill"

FileKindSize
.gitignoreother41 B
CITATION.cffother818 B
LICENSEother1.0 KB
README.mdmarkdown11.0 KB
SKILL.mdskill md1.3 KB
install.shscript651 B
powered-by-gaia.svgother1.2 KB
reference/compose.mdmarkdown2.1 KB
reference/detect.mdmarkdown1.0 KB
reference/name.mdmarkdown772 B
reference/register.mdmarkdown1.4 KB
scripts/candidates.shscript1.7 KB
scripts/validate.shscript1.0 KB

scripts/candidates.sh

View on GitHub
#!/usr/bin/env bash
# List installed skills available for fusion.
# Usage: bash scripts/candidates.sh [--dir <skills-dir>]
set -euo pipefail

DIR=""
while [[ $# -gt 0 ]]; do
  case "$1" in
    --dir) DIR="$2"; shift 2;;
    *) echo "Usage: candidates.sh [--dir <skills-dir>]" >&2; exit 1;;
  esac
done

# Auto-detect skills directory
if [[ -z "$DIR" ]]; then
  for d in .agents/skills .claude/skills .cursor/rules; do
    [[ -d "$d" ]] && DIR="$d" && break
  done
fi

if [[ -z "$DIR" || ! -d "$DIR" ]]; then
  echo "No skills directory found." >&2
  exit 1
fi

# List each skill that has a SKILL.md (or similar)
for skill_dir in "$DIR"/*/; do
  [[ -d "$skill_dir" ]] || continue
  name=$(basename "$skill_dir")
  desc=""
  for md in "$skill_dir"SKILL.md "$skill_dir"*.md; do
    if [[ -f "$md" ]]; then
      # Extract description from YAML frontmatter
      desc=$(awk '
        BEGIN { in_yaml=0; desc="" }
        /^---$/ {
          in_yaml++;
          if (in_yaml == 2) exit;
          next;
        }
        in_yaml == 1 {
          if ($0 ~ /^description:/) {
            idx = index($0, ":");
            val = substr($0, idx + 1);
            gsub(/^[ \t]+|[ \t]+$/, "", val);
            if (val ~ /^[>|]/) {
              getline;
              gsub(/^[ \t]+|[ \t]+$/, "", $0);
              desc = $0;
            } else {
              if (val ~ /^".*"$/ || val ~ /^\x27.*\x27$/) {
                val = substr(val, 2, length(val) - 2);
              }
              desc = val;
            }
            exit;
          }
        }
        END { print desc }
      ' "$md" 2>/dev/null || true)
      [[ -n "$desc" ]] && break
    fi
  done
  printf "%s\t%s\n" "$name" "${desc:-(no description)}"
done
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall