/ flydocs update
Update project configuration and managed artifacts from the server.
Synopsis
flydocs update [flags] Pulls the latest configuration and framework files from the server, replacing managed artifacts with current versions. This is the command to run when FlyDocs releases new skills, hooks, or commands that you want in your project.
Options
| Flag | Type | Default | Description |
|---|---|---|---|
--path | string | cwd | Project directory to update. |
--here | boolean | false | Use the current directory. |
--untrack-managed | boolean | false | Remove tracked, gitignored FlyDocs-managed files from the git index. The files stay on disk. |
What It Does
- Wipes managed artifacts (skills, hooks, commands) and replaces them with the latest server templates
- Merges config by pulling server-side changes while preserving local-only fields
- Updates skills to their latest versions based on your workspace configuration
- Cleans up deprecated files that are no longer part of the framework
- Calls sync internally to ensure config and artifacts are fully aligned
Managed artifacts are files owned by FlyDocs (inside .claude/).
Your own code, context files, and knowledge documents are never touched by
update.
If you are actively developing inside a managed path, add it to
artifactOverrides.skipPathsin.flydocs/config.jsonto prevent update from overwriting your changes.
Update replaces only FlyDocs' own block in AGENTS.md, the one
between <!-- flydocs:start --> and
<!-- flydocs:end -->, and leaves the rest of the file
byte for byte. .claude/CLAUDE.md works the same way. An
existing file that FlyDocs wrote before the markers existed is converted
to the marked form on your next update. Anything you added around the old
FlyDocs text stays, and a copy of the original goes to
.archive/managed/ first.
Tracked files and the git index
Some repos committed FlyDocs-managed files (skills, hooks, AGENTS.md)
before those paths were gitignored. Update never changes the git index on
its own. It lists each file that is tracked and gitignored, and
stages nothing. A file you commit on purpose and do not ignore is never
listed, and neither is an AGENTS.md or
.claude/CLAUDE.md that holds your own content next to the
FlyDocs block.
To stop tracking the listed files, opt in:
flydocs update --untrack-managed
This runs git rm --cached on each file and prints a line for
each one. The files stay on disk, and their removal is staged for your next
commit. To keep a file committed, remove its entry from
.gitignore instead.
Examples
Update the current project:
flydocs update --here Update a specific project directory:
flydocs update --path ./my-project Related Commands
flydocs sync: Lighter sync without wiping artifactsflydocs init: Full initialization from scratch