Repository navigation
Community flows
Community flows are flows that people share. Each one does one job, and you import it into a project. A starter flow needs one agent login and nothing else. A community flow can need more: a CLI tool, a secret, or an MCP server.
The flows are in the community folder of the repository. Each flow has a README that says what it needs and how to set it up.
| Flow | Does | Needs |
|---|---|---|
figma-to-code |
An agent updates the components of the project to match one Figma frame, and your check proves the change. You keep the change or drop it. | Agents: Claude Code · sonnet, Claude Code · opus. Connections (MCP servers): figma. |
review-pr |
An agent reviews a pull request. You read the review, and Night Shift posts it on GitHub when you agree. | Agents: Claude Code · sonnet. CLI tools: gh. |
- Open the folder of the flow in the community folder, and read its README.
- Set up what the flow needs on the computer that runs it. See CLI tools, connections, and secrets.
- Open the file
flow.jsonof the flow, and download it. Rename it to the name of the flow, for examplereview-pr.json. - In Night Shift, open the Flows page of your project, and choose Import flow. Pick the file. Night Shift names the flow after the file.
- Choose which of your profiles takes each agent of the flow.
- Open the flow. Change its prompts, models, and inputs to fit your project.
For scripts: the nightshift command imports a flow in one line. Run it in the folder of your project, and put the name of the flow in place of <name>. See Terminal and MCP.
curl -fsSL https://raw.githubusercontent.com/xiduzo/nightshift/main/community/<name>/flow.json \
| nightshift flows import - --name <name>When a flow does its work for you, share it. You can share it in two ways.
Send the file to one person:
- Open the flow in the editor.
- Open its ⋯ menu, and choose Export as file.
- Send the file.
- The other person chooses Import flow on the Flows page of their project, and picks the file. Night Shift asks which of their profiles takes each agent of the flow.
Share it with everyone: add it to the community folder in a pull request. Contributing gives the steps and the rules.
A shared flow runs on each computer that has what it needs. It holds no paths of your own, no Keychain, and no content of a client. It names a secret only as ${NAME}.
To find a flow that nobody has built yet, see Ideas.
This wiki comes from docs/wiki/ in the repository. To change a page, open a pull request there. An edit made here is lost at the next publish.
Start here
Use Night Shift
Reference
Repository