recurring-jobs
Fungsinya
Skill ini menjelaskan cara kerja pekerjaan terjadwal berulang di aplikasi agent-native, termasuk berkas pekerjaan dan penjadwal di baliknya. Skill ini untuk pengembang yang memelihara fitur pekerjaan lama atau memperbaiki masalah penjadwal.
Kapan dipakai
- βSaat pengguna meminta agent melakukan sesuatu dengan jadwal berulang.
- βKetika Anda memelihara integrasi lama yang memakai alat manage-jobs.
- βSaat pekerjaan terjadwal tidak berjalan di platform hosting tertentu.
Link skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/recurring-jobs/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βAtur pekerjaan yang berjalan setiap hari kerja pagi dan menyimpan hasilnya di obrolan.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent menulis berkas pekerjaan dengan jadwalnya. Penjadwal memeriksa sekitar sekali per menit untuk pekerjaan yang sudah waktunya, menjalankannya, dan menyimpan setiap hasil sebagai utas obrolan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Recurring Jobs (Compatibility)
Rule
Recurring Jobs is the legacy name and API for scheduled automations. Jobs live
as resource files under jobs/ with YAML frontmatter for scheduling metadata.
Read automations for the product model, trigger types, frontmatter fields,
organization scope, and when to prefer manage-automations over manage-jobs.
This skill covers only what is specific to the legacy scheduled path: the
manage-jobs tool and the cron scheduler behind it.
How It Works
- User asks for something recurring via the agent chat
- Agent uses
manage-jobstool (action: "create") to write a job file atjobs/<name>.md - A scheduler tick finds due jobs about once a minute. Long-running servers fire it in-process; Netlify, Vercel, and Cloudflare fire it from a platform trigger the build emits; AWS Lambda has no trigger, so jobs never fire there
- Due jobs enter the shared background-automation runner, on the same execution lifecycle as event automations
- Job results are saved as chat threads
Connected MCPs in background jobs
When a job needs a connected remote MCP, bind the exact advertised
mcp__<server>__<tool> names through mcpTools. The scheduler passes that
definition to the shared runner, which resolves only that allowlist under the
persisted creator/org request context and never stores or exposes OAuth tokens,
URLs, or arbitrary proxy targets.
Use an app-owned bounded import/upsert action for writes. Keep provider-specific
response mapping, provenance, deduplication, and write policy in the app rather
than in core. For example, a job can read meeting notes from any connected MCP
and pass normalized action items to an app's idempotent import action.
Job Tool (built in)
| Tool | Action | Purpose |
|---|---|---|
manage-jobs |
create |
Create a recurring job (name, cron schedule, instructions); fails if the name exists |
manage-jobs |
list |
List all jobs and their status |
manage-jobs |
update |
Update schedule, instructions, or toggle enabled |
Job files an app owns
create never replaces an existing job file, so a name that collides with an
app's file (Factory's factories/<id>/<name>) is refused instead of reset.
An app that stores its own settings in a job's frontmatter marks the file with
triggerType, which makes list, update, and delete skip it and sends the
caller to manage-automations. Edit those files only through the owning app's
actions, and patch fields in place; rebuilding a file from the fields the writer
knows drops the rest while the job keeps running.
Any write to a jobs/ file that removes a frontmatter field other than run
bookkeeping is recorded as a job-fields-dropped audit event (org admins read
it with list-audit-events and action: "job-fields-dropped"). Its input names
the writer, the dropped fields, and the agent thread and run that made it.
UI Surface
/agent#jobs is the stable compatibility URL for the Agent page's
Automations tab, which lists legacy scheduled jobs alongside trigger-aware
automations and is backed by the scoped list/manage actions. Direct users there
instead of describing job files when they just want to view or toggle scheduled
work.
Key Files
| File | Purpose |
|---|---|
packages/core/src/jobs/cron.ts |
Cron parsing (nextOccurrence, isValidCron, describeCron) |
packages/core/src/jobs/scheduler.ts |
Job execution engine (processRecurringJobs) |
packages/core/src/jobs/tools.ts |
Agent tool (manage-jobs with create/list/update actions) |
packages/core/src/client/agent-page/ |
AgentJobsTab, the /agent#jobs surface |
Related Skills
automationsβ The primary Scheduled/Event product modelactionsβ How tools and actions workdelegate-to-agentβ How jobs invoke the agent loop
Pertanyaan umum
Seberapa sering penjadwal memeriksa pekerjaan yang sudah waktunya?
Sekitar sekali per menit, menurut skill ini.
Apakah pekerjaan berjalan di setiap platform hosting?
Tidak. Skill ini menyatakan AWS Lambda tidak memiliki pemicu, sehingga pekerjaan tidak pernah berjalan di sana.
Alat mana yang sebaiknya dipakai pekerjaan baru?
Skill ini menyatakan untuk lebih memilih manage-automations daripada alat manage-jobs yang lama.
Detail
Deskripsi asli dari pembuat
The legacy manage-jobs compatibility surface, job files under jobs/, and cron scheduler internals. Use when maintaining manage-jobs integrations or debugging the scheduler.
repo: BuilderIO/agent-native
Popularitas
- Bintang GitHub
- 7.6k
- Peringkat
- #13176
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
design-exploration
7.6kMembantu agent Anda mengeksplorasi beberapa arah desain UI secara berdampingan, membiarkan Anda memilih satu, lalu menyempurnakan desain yang dipilih.
visual-edit
7.6kMembantu agent Anda membuka aplikasi lokal yang sedang berjalan di editor visual agar Anda dapat meninjau dan mengedit layar aslinya bersama-sama.
turn-into-app
7.6kMengubah alur kerja, spreadsheet, atau proyek menjadi aplikasi visual yang rapi, dengan layar yang terisi dan agent yang bekerja di balik kontrol.
visual-plan
7.6kMengubah rencana teks biasa menjadi rencana visual interaktif dengan diagram, peta file, cuplikan kode, dan pertanyaan terbuka.
Skill serupa
api-connector-builder
280kMembuat agent Anda membangun koneksi API baru mengikuti pola yang sudah ada. Gunakan saat ingin menambah integrasi lagi tanpa membuat cara baru.
api-design
280kMembantu agent Anda merancang REST API sesuai praktik terbaik. Berguna untuk mengatur cara API berkomunikasi, menampilkan error, dan mengorganisasi data.
backend-patterns
280kMembantu agent Anda dengan pola arsitektur sisi server dan optimasi database. Berguna untuk membangun atau meninjau kode yang berjalan di server.