configure-workspaces
Was er macht
Dieser Skill liest dein Projekt und schreibt Workspace-Einstellungen, die HumanLayer sagen, wie Worktrees aufzubauen sind. Er richtet sich an Entwickler, die HumanLayer-Aufgaben in einem Git-Repository ausführen.
Wann du ihn nutzt
- ✓Wenn du HumanLayer zum ersten Mal für ein Repository einrichtest.
- ✓Wenn neue Aufgaben ihren Worktree nicht anlegen können und die Konfiguration korrigiert werden muss.
- ✓Wenn du gemeinsame Teameinstellungen getrennt von den Überschreibungen deines eigenen Rechners halten willst.
Link zum Skill
https://github.com/humanlayer/humanlayer/blob/main/apps/riptide-rpi-claude-plugin/skills/configure-workspaces/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Richte die HumanLayer-Workspace-Konfiguration für dieses Repository ein, damit neue Aufgaben ihre Worktrees korrekt anlegen.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent liest das Projekt, schlägt eine kurze Konfiguration vor und schreibt die gemeinsame und die lokale Datei, nachdem du zugestimmt hast. Danach prüft er, ob die Dateien gültig sind.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Purpose
This skill reads the project, proposes a concise workspace configuration, writes the approved files, and validates them.
The workspace config files control how worktrees are created when tasks use workspaceTiming = now in the Riptide task creation UI:
.humanlayer/workspace.json— shared team configuration, safe to commit.humanlayer/workspace.local.json— machine-specific overrides, gitignored
Use plain, brief language. State each point as one human speaking to another.
Steps to follow
<step index=0>Step 0: Select the repository
Check the current directory and home directory:
Bash(pwd)
Bash(printf '%s\n' "$HOME")
Bash(git rev-parse --show-toplevel)
If git rev-parse succeeds, use that repository root as the working directory. State the path in one short sentence.
If the current directory is the home directory and it is not inside a Git repository, ask one question:
Which repository should I configure? Send its path.
Use the same question when the current directory is not a Git repository. After the user gives a path, confirm it with git -C <path> rev-parse --show-toplevel and use the returned root.
Step 1: Read the project
Read any existing workspace config files:
Read(.humanlayer/workspace.json)
Read(.humanlayer/workspace.local.json)
Run all file reads and commands from the selected repository root.
Check for coordination-repo signals (Claude config, additional sibling repos):
Read(.claude/settings.json)
Bash(ls -la ../)
Read(package.json)
Read(Makefile)
Read(README.md)
Bash(git remote -v)
Use an existing workspace config as the starting point. Infer changes from the repository and the user's request.
</step> <step index=2>Step 2: Build the proposal
Infer a complete proposal from project files and common defaults.
- Use a single-repository config unless the project clearly coordinates related sibling repositories.
- For one repository, use
{ "localPath": ".", "primary": true }. - For multiple repositories, include the related paths and mark exactly one primary repository.
- Prefer the repository with the team's central Claude settings, MCP config, or agent policy as primary.
- Use
~/.humanlayer/workspaces/{{ TASKSLUG }}/{{ REPOBASENAME }}as the default path template. - Use
origin/mainas the default source ref, or whatever default remote the user prefers (e.g. upstream/main - if there are multiple remotes, ask) - Infer a setup command from project scripts, package manager files, the Makefile, and the README.
- Include local files that exist and are useful in a worktree, such as
.env,.env.local,.env.development.local,.claude/settings.local.json, and.humanlayer/workspace.local.json. - Put machine-specific values in
.humanlayer/workspace.local.json.
For multi-repository workspaces:
- Sessions in the workspace launch in the primary repo's worktree by default.
- Skills and instruction files (
CLAUDE.md/AGENTS.md) are loaded from all repos in the workspace. - Repo-local
.claude/settings*.json/ MCP-style configuration only governs sessions launched from a repo — so the repo holding the team's central Claude settings, MCP config, or agent policy should usually be primary.
The first response after project inspection must show the proposed .humanlayer/workspace.json as a fenced json block. If local overrides are useful, show .humanlayer/workspace.local.json in a second fenced json block. End with one short line:
Tell me what to change, or approve this config.
When the user gives feedback, update and print the complete proposed JSON again.
</step> <step index=3>Step 3: Validate the proposal
Validate the proposed config before asking for approval.
For single-repo projects, workspace.json looks like:
{
"disabled": false,
"pathTemplate": "~/.humanlayer/workspaces/{{ TASKSLUG }}/{{ REPOBASENAME }}",
"branchTemplate": "{{ TASKSLUG }}",
"sourceRef": "origin/main",
"setupCommand": "",
"copyGlobs": [
".env",
".env.local",
".env.development.local",
".claude/settings.local.json",
".humanlayer/workspace.local.json"
],
"repos": [
{
"localPath": ".",
"description": "Selected repository",
"primary": true
}
]
}
For multi-repo projects (coordination repos), workspace.json looks like:
{
"disabled": false,
"pathTemplate": "~/.humanlayer/workspaces/{{ TASKSLUG }}/{{
Häufige Fragen
Welche Dateien erstellt er?
Eine gemeinsame Datei workspace.json, die sicher committet werden kann, und eine workspace.local.json für maschinenspezifische Einstellungen, die nicht in Git landet.
Welches Repository konfiguriert er?
Das aktuelle Git-Repository. Findet er keines, fragt er dich nach dem Pfad.
Schreibt er Dateien ohne Nachfrage?
Nein. Er schlägt die Konfiguration zuerst vor und schreibt Dateien erst nach deiner Zustimmung.
Details
Originalbeschreibung des Autors
Propose and generate workspace configuration files (.humanlayer/workspace.json and .humanlayer/workspace.local.json) for a repository
repo: humanlayer/humanlayer
Beliebtheit
- GitHub-Sterne
- 13k
- Platz im Ranking
- #11396
- Lizenz
- Apache-2.0
- Aktualisiert
- 31.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
asd-ste100
13kBringt deinem Agenten bei, verwirrendes Englisch in kurze Sätze mit nur einer Bedeutung umzuschreiben, die für Menschen und andere Software leicht zu lesen sind.
better-github-skill
13kHilft deinem Agenten, den Status eines Pull Requests zu prüfen, seine Review-Kommentare zu lesen und herauszufinden, warum ein CI-Build fehlgeschlagen ist, mit fertigen GitHub-Skripten.
calldiff
13kHilft deinem Agenten, die Ketten von Funktionsaufrufen in einer Codebasis zwischen zwei Git-Versionen zu vergleichen, damit eine Code-Prüfung sieht, welches Verhalten sich geändert hat.
chrome-devtools-cli
13kLässt deinen Agenten Chrome vom Terminal aus steuern, um Seiten zu öffnen, zu klicken, Formulare auszufüllen und Seiten-Snapshots für Browser-Automatisierung und Tests zu erstellen.
Ähnliche Skills
openclaw-update
394kHilft deinem Agenten, ein bestehendes OpenClaw-Gateway zu aktualisieren, mit der Methode, die zu deiner Installation passt, während deine Sitzung weiterläuft.
diagnose-gateway
394kHilft deinem Agenten herauszufinden, warum dein OpenClaw-Gateway fehlschlägt, indem er Einstellungen, Kanäle und Ports prüft, ohne etwas zu ändern.
crabbox-apps
394kHilft deinem Agenten, eine App auf einer temporären Cloud-Maschine zu öffnen und auszuführen und ihre Ansicht in deinem Chat-Seitenpanel zu zeigen.