davila7/claude-code-templates / cli-tool/components/skills/ai-research/loki-mode
loki-mode
FlaggedMulti-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers, and self-healing. Handles rate limits via distributed state checkpoints and auto-resume with exponential backoff. Requires --dangerously-skip-permissions flag.
.github/workflows/release.yml
View on GitHubname: Release
on:
push:
paths:
- 'VERSION'
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Read version
id: version
run: |
VERSION=$(cat VERSION | tr -d '\n')
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "tag=v$VERSION" >> $GITHUB_OUTPUT
- name: Check if tag exists
id: check_tag
run: |
if git rev-parse "v${{ steps.version.outputs.version }}" >/dev/null 2>&1; then
echo "exists=true" >> $GITHUB_OUTPUT
else
echo "exists=false" >> $GITHUB_OUTPUT
fi
- name: Create release artifacts
if: steps.check_tag.outputs.exists == 'false'
run: |
mkdir -p release
# ============================================
# Artifact 1: loki-mode.zip (for Claude.ai website)
# SKILL.md at ROOT level for direct upload
# ============================================
mkdir -p release/skill-root
cp SKILL.md release/skill-root/
cp -r references release/skill-root/
cd release/skill-root
zip -r ../loki-mode-${{ steps.version.outputs.version }}.zip .
cd ../..
# Also create .skill file (same as zip, different extension)
cp release/loki-mode-${{ steps.version.outputs.version }}.zip release/loki-mode-${{ steps.version.outputs.version }}.skill
# ============================================
# Artifact 2: loki-mode-api.zip (for console.anthropic.com)
# SKILL.md inside loki-mode/ folder (API requires folder wrapper)
# ============================================
mkdir -p release/api-package/loki-mode
cp SKILL.md release/api-package/loki-mode/
cp -r references release/api-package/loki-mode/
cd release/api-package
zip -r ../loki-mode-api-${{ steps.version.outputs.version }}.zip loki-mode
cd ../..
# ============================================
# Artifact 3: loki-mode-claude-code.zip
# For Claude Code: full package with loki-mode/ folder
# Extract to ~/.claude/skills/
# ============================================
mkdir -p release/loki-mode
cp SKILL.md release/loki-mode/
cp README.md release/loki-mode/
cp LICENSE release/loki-mode/ 2>/dev/null || true
cp VERSION release/loki-mode/
cp CHANGELOG.md release/loki-mode/
cp -r references release/loki-mode/
cp -r examples release/loki-mode/
cp -r tests release/loki-mode/
cp -r scripts release/loki-mode/
cp -r autonomy release/loki-mode/
cd release
zip -r loki-mode-claude-code-${{ steps.version.outputs.version }}.zip loki-mode
tar -czvf loki-mode-claude-code-${{ steps.version.outputs.version }}.tar.gz loki-mode
cd ..
- name: Create Git Tag
if: steps.check_tag.outputs.exists == 'false'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git tag -a "v${{ steps.version.outputs.version }}" -m "Release v${{ steps.version.outputs.version }}"
git push origin "v${{ steps.version.outputs.version }}"
- name: Extract changelog for this version
if: steps.check_tag.outputs.exists == 'false'
id: changelog
run: |
VERSION="${{ steps.version.outputs.version }}"
CHANGELOG=$(awk "/^## \[$VERSION\]/{flag=1; next} /^## \[/{flag=0} flag" CHANGELOG.md)
if [ -z "$CHANGELOG" ]; then
CHANGELOG="Release v$VERSION"
fi
echo "$CHANGELOG" > changelog_body.txt
- name: Create GitHub Release
if: steps.check_tag.outputs.exists == 'false'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "v${{ steps.version.outputs.version }}" \
release/loki-mode-${{ steps.version.outputs.version }}.zip \
release/loki-mode-${{ steps.version.outputs.version }}.skill \
release/loki-mode-api-${{ steps.version.outputs.version }}.zip \
release/loki-mode-claude-code-${{ steps.version.outputs.version }}.zip \
release/loki-mode-claude-code-${{ steps.version.outputs.version }}.tar.gz \
--title "Loki Mode v${{ steps.version.outputs.version }}" \
--notes-file changelog_body.txt
- name: Skip message
if: steps.check_tag.outputs.exists == 'true'
run: |
echo "Tag v${{ steps.version.outputs.version }} already exists. Skipping release."
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |