---
title: "Discussion on \"How to Write Pluggable Drafters for a Scheduled Claude Agent in Python\" | Hashnode"
description: "Discussion on \"How to Write Pluggable Drafters for a Scheduled Claude Agent in Python\". Write drafters for a scheduled Claude agent as plain Python functions with no publish access, registered with APScheduler and tested offline."
url: "https://hashnode.com/posts/pluggable-drafters-scheduled-claude-agent-python/6ac44d4af427172dd5fcdfff"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Write Pluggable Drafters for a Scheduled Claude Agent in Python](https://craigsolomon.hashnode.dev/pluggable-drafters-scheduled-claude-agent-python?utm_source=hashnode&utm_medium=feed)

Write drafters for a scheduled Claude agent as plain Python functions with no publish access, registered with APScheduler and tested offline.

Oct 6 · 6 min read · craigsolomon.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#ai](https://hashnode.com/tag/ai)
-   [#llm](https://hashnode.com/tag/llm)
-   [#apscheduler](https://hashnode.com/tag/apscheduler)
-   [#automation](https://hashnode.com/tag/automation)

## Written by

[Craig Solomon](https://hashnode.com/@craigsolomon)

@craigsolomon · Florida

  
[View profile](https://hashnode.com/@craigsolomon)

Founder, Fulcrum Enterprises — Building the Foundation for an AI Driven Future

Founder, Fulcrum Enterprises. Building the foundation for an AI driven future.

## Responses 1

Markdown supported · ⌘↵ to post

[indiainfranotes](https://hashnode.com/@indiainfranotes)

[Oct 6](https://hashnode.com/posts/pluggable-drafters-scheduled-claude-agent-python/6ac44d4af427172dd5fcdfff/comment/6ac483016de206c341f8d381)

A scheduled drafter that runs without a pinned context is just a prompt that repeats. The useful version stores the context hash next to the draft so you can see which rules produced which file. Would you refuse to publish a draft whose context hash does not match the skill that was supposed to run? iin1006h10
