Skip to content

docs(readme): add #inheritance install option to the Install section … #2

docs(readme): add #inheritance install option to the Install section …

docs(readme): add #inheritance install option to the Install section … #2

name: Sync inheritance branch
# Regenerates the `inheritance` branch on every push to main: identical to
# main, but every skill's `model:` / `effort:` frontmatter lines are stripped,
# so installed skills inherit the session's model and effort instead of
# pinning Claude tiers. Install with:
# npx skills add gtrabanco/agentic-workflow#inheritance
on:
push:
branches: [main]
permissions:
contents: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Strip model/effort from all skills
run: |
find skills -name SKILL.md -exec sed -i '/^model: /d;/^effort: /d' {} +
- name: Commit and force-push to inheritance
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
git commit -m "chore(inheritance): strip model/effort — skills inherit session settings [auto-synced from $GITHUB_SHA]"
git push -f origin HEAD:inheritance