Self-hosted agent jobs for recurring engineering work.
Quick start · Skill catalog · Security model · Docs
Try a skill on your repository, then run it on demand, on a cron schedule,
or from a webhook. Jobs live in .secondshift.yaml.
The agent runs in a sandbox without direct network access. A broker enforces which tools it can call, and service credentials stay outside the sandbox.
secondshift-ci-fixer-walkthrough-v2.mp4
CI failures → draft fix → scheduled skill.
Start Docker and install uv. You'll need a model API key or a Claude Code or Codex subscription.
uv tool install secondshift
secondshift up- Clone this repo with
git clone https://github.com/piotrekno1/second-shift.git. - In the dashboard, add the clone under Repositories → Add repository → Local folder.
- In Models, connect your model. Then open Jobs → Documentation drift and click Run now.
To try another skill, open Explore. The catalog shows what each skill produces, what it can access, and what it can change. For your own skill or one from GitHub, see one-off tasks.
This job runs the repository's documentation review every Monday at 08:00 UTC.
version: 1
jobs:
docs-drift:
name: Documentation drift
skill: examples/docs-drift/.agents/skills/docs-drift/SKILL.md
schedule: "0 8 * * 1"
timezone: UTCA skill is a SKILL.md file with instructions for the agent. You can keep it
in your repo or reference a GitHub skill pinned to a commit. The
configuration reference covers webhook
triggers, requested tools, and delivery.
- Access. A workspace owner approves the model and tools. The broker checks each call against the job's approved access, including argument limits. Approving a write tool grants the agent that write capability.
- Output. Inspect the report, source commit, tool calls, and token usage in run history. Send reports to Slack or a webhook, or configure GitHub issues and draft PRs.
- MCP. Start approved jobs, submit tasks, or read reports from your coding agent. Connect an MCP client
SecondShift is in beta. The production deployment guide covers Docker Compose, PostgreSQL, gVisor, and backups.