Skip to content

tim-hub/powerball-harness / harness/skills/harness-setup

harness-setup

Verified

Initializes and configures Harness in a project — CI, memory, duo workflow, Codex. Use when setting up a new project or adding Harness configuration.

FileKindSize
SKILL.mdskill md6.2 KB
references/codex.mdmarkdown2.1 KB
scripts/merge-gitignore.shexecutablescript1.1 KB
scripts/setup-codex.shexecutablescript4.4 KB
scripts/setup-opencode.shexecutablescript3.2 KB

scripts/merge-gitignore.sh

View on GitHub
#!/usr/bin/env bash
# merge-gitignore.sh — Merge Harness-managed block into a project's .gitignore
#
# Usage:
#   bash merge-gitignore.sh [target-gitignore-path]
#
# Defaults to .gitignore in the current directory when no argument is given.
# Idempotent: skips if the marker block is already present.
#
# The managed block is delimited by:
#   # ---- Harness managed begin ----
#   # ---- Harness managed end ----

set -euo pipefail

TARGET="${1:-.gitignore}"
BEGIN_MARKER="# ---- Harness managed begin ----"
END_MARKER="# ---- Harness managed end ----"

if [ -f "$TARGET" ] && grep -qF "$BEGIN_MARKER" "$TARGET"; then
  echo "harness-managed block already present in $TARGET — skipping"
  exit 0
fi

cat >> "$TARGET" <<'BLOCK'

# ---- Harness managed begin ----
# Claude Code / Harness runtime files
.claude/sessions/
.claude/logs/
.claude/state/
.claude/worktrees/
.claude/settings.local.json


# Force-track Harness configuration (do not ignore these)
!.claude/memory/
!.claude/output-styles/
!.claude/rules/
!.claude/scripts/
!.claude/skills/
!.claude/settings.json
# ---- Harness managed end ----
BLOCK

echo "harness-managed block appended to $TARGET"
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: 471kUpdated 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