agentleFS
ulises-jeremiasulises-jeremias/agent-toolkit/skills/core/workspace/SKILL.md

workspace

Skill18 starsChanged 3 months agoMITView on GitHub

Scaffold and manage the stateless AI workspace — context, packs, repos, and knowledge for

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never cd && command to change repo context — use workdir or --workspace/-C.

    line 91
  2. Distinctive:

    Never commit without code review.

    line 92
  3. Very specific:

    Do not assume we are inside a repo — verify with workspace context first.

    line 93

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Workspace

Initialize and operate the stateless AI workspace (~/.ai-workspace) that orchestrates work across any repo, team, or client via agent-toolkit workspace and agent-toolkit memory. This is the entry point for multi-repo delivery; all swarm and project work runs inside it.

When to use

  • Starting a new session (agent-toolkit workspace context + agent-toolkit memory inject + agent-toolkit memory todo — the session start protocol per AGENTS.md).
  • User needs to switch client/project context via packs (packs/*.yaml).
  • Workspace health check, pack load, or knowledge sync is needed.

Prerequisites

  • agent-toolkit installed (agent-toolkit workspace --help works).
  • Workspace at ~/.ai-workspace (or $WORKSPACE_ROOT) with repos/, projects/ symlinks, knowledge/, personas/, packs/.

Workflow

1. Session start protocol (always)

agent-toolkit workspace context          # inject session state (repos, packs, personas)
agent-toolkit memory inject              # load persistent knowledge
agent-toolkit memory todo                # show pending follow-ups
# Optional: load a pack
agent-toolkit workspace load packs/<client>.yaml

Per AGENTS.md: check knowledge/ before asking a question already answered; run discovery before large edits; follow plan → implement → review → PR.

2. Inspect and switch context

agent-toolkit workspace context --json | jq
ls ~/.ai-workspace/projects  # symlinks to active repos
ls ~/.ai-workspace/packs
cat ~/.ai-workspace/AGENTS.md  # portable contract (primary), plus CLAUDE.md/GEMINI.md symlinks

Packs bundle client/project context:

agent-toolkit workspace load packs/my-client.yaml  # sets env, LLM policy, registry
# Verify LLM policy before queuing devcompanion jobs (esp. for client engagements)
dots-devcompanion llm-status  # or agent-toolkit devcompanion status

3. Knowledge lifecycle

agent-toolkit memory search "topic"           # find existing knowledge
agent-toolkit memory add --type learning "pattern"  # save after discovering
agent-toolkit memory add --type todo "follow-up"    # track
agent-toolkit memory todo                    # review before closing session

Knowledge is project-aware; memory inject surfaces prior learnings for the current repo.

4. Personas and routing

Per AGENTS.md routing table:

TaskDelegate
Discovery / first repo lookassistant skill
Generic deliveryworkflow-generic-project
UI/UXfigma / figma-implement-design
JIRA / Confluence / ClickUpjira-assistant / confluence-assistant / clickup-cli
Swarm orchestrationswarm, swarm-observer, swarm-handoff
Herdr/tmux backendherdr, worktree

Personas (personas/*.md: implementer, reviewer, researcher, architect) constrain toolset when use-persona is active — respect allow/deny and handoff.

Boundaries

  • Never cd && command to change repo context — use workdir or --workspace/-C.
  • Never commit without code review; never skip plan phase for non-trivial work.
  • Do not assume we are inside a repo — verify with workspace context first.

Delegates to

NeedSkill
Repo discovery and conventionsassistant
Multi-repo clone and syncproject
Swarm deliveryswarm
Knowledge persistenceworkspace-knowledge-sync
Generic delivery workflowworkflow-generic-project

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.