본문으로 건너뛰기
Skillpedia
API 및 서버 (백엔드)7.6k · #13176

recurring-jobs

하는 일

이 스킬은 Agent-Native 앱의 반복 예약 작업이 작동하는 방식을 설명합니다. 작업 파일과 그 뒤의 스케줄러를 포함합니다. 오래된 작업 기능을 관리하거나 스케줄러 문제를 고치는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓사용자가 반복 일정에 따라 무언가를 해 달라고 에이전트에게 요청할 때.
  • ✓manage-jobs 도구를 쓰는 오래된 연동을 관리할 때.
  • ✓특정 호스팅 플랫폼에서 예약 작업이 실행되지 않을 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/recurring-jobs/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/recurring-jobs/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“매주 평일 아침에 실행되고 결과를 채팅에 저장하는 작업을 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 일정이 있는 작업 파일을 작성합니다. 스케줄러는 약 1분마다 실행 시각이 된 작업을 확인해 실행하고, 각 결과를 채팅 스레드로 저장합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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

  1. User asks for something recurring via the agent chat
  2. Agent uses manage-jobs tool (action: "create") to write a job file at jobs/<name>.md
  3. 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
  4. Due jobs enter the shared background-automation runner, on the same execution lifecycle as event automations
  5. 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 model
  • actions — How tools and actions work
  • delegate-to-agent — How jobs invoke the agent loop
자주 묻는 질문

스케줄러는 얼마나 자주 실행 시각이 된 작업을 확인하나요?

이 스킬에 따르면 약 1분에 한 번입니다.

모든 호스팅 플랫폼에서 작업이 실행되나요?

아니요. 이 스킬은 AWS Lambda에는 트리거가 없어서 작업이 전혀 실행되지 않는다고 말합니다.

새 작업에는 어떤 도구를 써야 하나요?

이전 manage-jobs 도구보다 manage-automations를 우선 쓰라고 이 스킬은 말합니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
7.6k
순위
#13176
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬