Skip to content

puntorigen/avatar-skills / avatar-location

avatar-location

Verified

Create a new LOCATION (a look) for an existing avatar — keep its IDENTITY (face, gestures, cloned voice, talking_profile) but vary the LOOK: wardrobe + environment + light, optionally incorporating asset references (a logo on a shirt/jacket, a prop in the scene). Generates an identity-anchored hero still + camera angles under <avatar>/locations/<loc>/, selectable later per reel and per scene by avatar-reel-composer, so one avatar can appear in many looks without re-making it. The avatar's DEFAULT location is just what exists today (top-level scene.json + angles/) and is untouched. Use when the user wants to "dress" an avatar differently, put it in another setting/room, give it a wardrobe/scene variant, add a branded outfit (logo on the shirt) or a prop, create reel looks, or asks for avatar locations / outfits / wardrobes / environments / "otro ambiente" / "otra ropa" for an avatar.

FileKindSize
REFERENCE.mdmarkdown6.7 KB
SKILL.mdskill md6.2 KB
scripts/_common.pyscript7.9 KB
scripts/create_location.pyscript21.3 KB
scripts/list_locations.pyscript3.7 KB
scripts/requirements.txtmanifest443 B
scripts/setup_key.pyscript2.1 KB

scripts/setup_key.py

View on GitHub
#!/usr/bin/env python3
"""Configure / inspect the API keys avatar-location needs.

A location only re-uses the image skills, so keys are normally inherited from
sibling skills (no setup needed):
  - Replicate -> gpt-image-2 / avatar-invent  (identity-anchored hero + angles)
  - Gemini    -> asset-generator              (only for --generator gemini)

Usage:
    python3 setup_key.py --show
    python3 setup_key.py --replicate r8_...
    python3 setup_key.py --gemini AIza...
"""

import argparse
import sys
from pathlib import Path

SCRIPT_DIR = Path(__file__).resolve().parent
sys.path.insert(0, str(SCRIPT_DIR))
import _common as C  # noqa: E402


def mask(value):
    if not value:
        return "(not set)"
    if len(value) <= 12:
        return "***"
    return value[:6] + "..." + value[-4:]


def main():
    ap = argparse.ArgumentParser(description="Configure avatar-location API keys")
    ap.add_argument("--show", action="store_true", help="Show resolved keys (masked)")
    ap.add_argument("--replicate", help="Set the Replicate API token")
    ap.add_argument("--gemini", help="Set the Gemini API key")
    args = ap.parse_args()

    cfg = C.load_config()
    changed = False
    if args.replicate:
        cfg["replicate_api_token"] = args.replicate.strip(); changed = True
    if args.gemini:
        cfg["gemini_api_key"] = args.gemini.strip(); changed = True
    if changed:
        C.save_config(cfg)
        print(f"Saved to {C.CONFIG_FILE}")

    if args.show or not changed:
        rep = C.get_replicate_token(required=False)
        gem = C.get_gemini_api_key(required=False)
        print("avatar-location resolved keys (env -> own config -> sibling skills):")
        print(f"  replicate_api_token : {mask(rep)}  (hero + angles via gpt-image-2)")
        print(f"  gemini_api_key      : {mask(gem)}  (optional, --generator gemini)")
        print(f"  config file         : {C.CONFIG_FILE}")
        if not rep:
            print("\n  ! No Replicate token. Configure gpt-image-2/avatar-invent or run --replicate TOKEN.",
                  file=sys.stderr)


if __name__ == "__main__":
    main()
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 196kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 196kUpdated Claude CodeCodexVerifiedInstall