classcharts
Skill1 starsChanged 16 days agoMITView on GitHub
Answer a parent's questions about their child's school from ClassCharts (used by many UK secondary schools) with the read-only `classcharts` CLI, covering homework, timetable, announcements, behaviour points, detentions and attendance, plus a one-call daily digest. Use when someone asks "what homework is due?", "anything outstanding?", "what's on tomorrow?", "is there school on Monday?", "what's this week look like?", "has the school sent anything?", "any trips or forms?", "how's behaviour been?", "any detentions?", "how's attendance?" or "anything I need to know?", or wants a school summary for a family chat.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- m0nkmaster/agent-skillstheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- m0nkmaster/agent-skills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- uk-public-dataSkill
- captureSkill
- memory-curationSkill
- recallSkill
- reflectSkill
- javascript-supply-chain-hardeningSkill
- local-app-screenshots-and-gifSkill
- product-planning-doc-packSkill
- challenge-meSkill
- check-my-understandingSkill
- plain-englishSkill
- rehearseSkill
- researchSkill
- writing-voiceSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Read-only CLI for a ClassCharts parent account: classcharts <command> [date] [options].
- Distinctive: line 19
Do not use for:
- Very specific: line 33
Start with the narrowest command that answers the question.
- Distinctive: line 69
Celebrate positives: Keep negatives and detentions factual and low-key, with no lecturing and no speculation about why.
- Distinctive: line 72
Read-only: if asked to tick homework, give consent or message a teacher, say you can't and that the parent can do it in the ClassCharts app.
- Distinctive: line 83
An error never means "nothing due": After a failed command, don't report an empty day, "no homework" or "no detentions".
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ClassCharts
Read-only CLI for a ClassCharts parent account: classcharts <command> [date] [options]. It can see what a parent sees in the ClassCharts app. It can't tick homework, reply to consent requests or message teachers.
The canonical copy of this skill lives in the tool's repo (shan8851/classcharts-agent, also printed by
classcharts skill). This copy is for discovery. If they disagree, trust the one that matches the installed version.
When to use
- Homework (due, outstanding, overdue, details), lessons for a day or week, whether a day is a school day.
- School announcements, trips, letters and consent forms.
- Behaviour points, detentions, attendance.
- An evening or morning "anything I need to know?" summary.
Do not use for:
- anything that writes (ticking homework, giving consent, messaging the school). Say it's read-only and point the parent to the ClassCharts app;
- other school systems (Arbor, Satchel One, Bromcom and so on);
- interpreting a school's behaviour policy or what a code "really" means. Report it as given and suggest asking the school.
Before the first command
- Check it's installed:
command -v classcharts(macOS/Linux) orwhere classcharts(Windows). - If it's missing, ask the user before installing. Offer
npm install -g @shan8851/classcharts-agent, which needs Node.js 22.18 or later (node --version). - Check there's a login:
classcharts pupils. Exit code 2 with "No ClassCharts login found" means nobody has signed in yet. - Sign-in is done by a person, once. Tell them to run
classcharts setupin a terminal themselves. It prompts for the parent email and password, tests them, and saves them privately on that machine. Don't ask for the password in chat, don't put it in a command, and don't try to runsetupyourself: it refuses non-interactive input.
Pick the command
Start with the narrowest command that answers the question. For a general check-in, digest is one call that covers everything.
| Question | Command |
| "Anything I need to know?" / daily summary | digest (next school day, homework to do including overdue, detentions, behaviour, announcements, attendance) |
| "What's on tomorrow?" / "Is there school Monday?" | day tomorrow / day monday |
| "What's the next school day?" (evenings, Fridays, holidays) | day next (skips weekends and holidays) |
| "What does this week / next week look like?" | week / week next |
| "What homework is outstanding?" | homework --todo |
| "What homework is due this week?" | week, or homework --from today --to friday |
| "Tell me more about the art homework" | homework --full (full text, links, attachment names) |
| "Has the school sent anything?" / "Any trips or forms?" | announcements (--full for the whole text) |
| "How's behaviour been?" | behaviour (last 7 days; --from for longer) |
| "Any detentions?" | detentions |
| "How's attendance?" | attendance (this school year) |
| "Which children are linked?" | pupils (also shows which sections the school turns on) |
- Dates:
YYYY-MM-DD,today,tomorrow,yesterday,next, or a weekday (fridaymeans the next Friday, today included). - More than one child linked: every command needs
--pupil <first name or id>(orCLASSCHARTS_PUPILset). The CLI refuses to guess and lists the linked children. Run once per child when the question covers all of them. Scheduled or unattended agents should use the id. - Text output is already compact. Add
--jsononly when you need to process the result. - One
weekcall beats fivedaycalls. The login is cached between calls, but don't hammer the API.
Reading the output
[todo]/[done]is a tick, not a mark. It shows whether someone ticked the homework off in ClassCharts. It says nothing about whether it was handed in or how it was graded. Never say "the teacher marked it done".[todo]homework due before today is overdue. Mention it first.week 1/week 2is the school's two-week timetable rotation, when the school publishes it.- "No lessons (weekend, holiday or INSET day)" means ClassCharts returned no lessons for that date. In term time that usually means a holiday or INSET (staff training) day. Say "no lessons on ClassCharts", not "the school is closed", unless an announcement says so.
[consent needed]on an announcement means the school wants a parent's response in ClassCharts. You can't give it. Tell the parents, with the deadline if the announcement gives one.- Behaviour reasons and scores are each school's own ("Commendation", "C2", "S1"). Report them as given. Don't guess what a code means.
- A section the school doesn't show (text says the school doesn't show it;
hiddenBySchoolin JSON) is the school's ClassCharts setting, not an error. Say so once and move on. - Times are in the school's timezone. Gaps between lessons are breaks or lunch. Rooms and teachers are as the school records them.
Answering well
- Lead with anything that needs action: overdue or soon-due
[todo]homework, consent requests, upcoming detentions. Then the rest. - Celebrate positives. Keep negatives and detentions factual and low-key, with no lecturing and no speculation about why. The parents decide how to handle them. In a group chat that includes the child, be especially careful.
- Keep it short for a chat: a few lines, no tables, no headings. Leave out empty sections ("no detentions") unless the user asked about them.
- Don't post attachment links in a chat. Attachment URLs (
--json,attachments[].url) are signed and expire. Name the attachment and say it's in ClassCharts. - Read-only: if asked to tick homework, give consent or message a teacher, say you can't and that the parent can do it in the ClassCharts app.
Errors
| Exit code | Message | What to do |
| 2 | "No ClassCharts login found" | Setup hasn't been run. Ask a person to run classcharts setup in a terminal. |
| 2 | "Sent the login back to its sign-in page" | Usually too many login attempts: ClassCharts blocks logins for a few minutes. Wait; don't retry in a loop. Tell the user to try again in about five minutes. If it keeps happening after a wait, the email or password is probably wrong, so they should re-run setup. |
| 2 | "Login failed" / "not understood" | Wrong details, or ClassCharts changed its login. Tell the human; don't work around it. |
| 1 | Bad date, missing --pupil, a refused request, or ClassCharts unavailable or sending something unexpected | The message says what went wrong. Fix the input (for example an inverted --from/--to, or add --pupil) and run once more. Otherwise report it. |
An error never means "nothing due". After a failed command, don't report an empty day, "no homework" or "no detentions". Say the check failed. Never fill the gap from memory or guesswork: "I couldn't reach ClassCharts" is a fine answer.
Adapting to your setup
- Claude Code: install the skill under
~/.claude/skills/classcharts/, or let the tool write the canonical copy:classcharts skill > ~/.claude/skills/classcharts/SKILL.md. - Codex / OpenClaw / a chat bot (WhatsApp, Telegram): the agent needs a shell on the machine where
classcharts setupwas run, because the login is saved per user on that machine (~/.config/classcharts-agent/.env, plain text protected by file permissions, so treat that file like a password). Run setup as the same OS user the bot runs as. - Scheduled digest: a daily
classcharts digestfrom cron or your agent's scheduler works well. Once a day is plenty.
Common failure modes
- Saying a teacher "marked" homework done, or that
[done]means handed in. - Calling a no-lessons day a strike, closure or illness without an announcement saying so.
- Retrying a blocked login in a loop instead of waiting.
- Reporting "nothing due" or an empty day after a command failed.
- Asking for the parent's password in chat, or trying to script
setup. - Explaining what a behaviour code means, or moralising about a negative point.
- Pasting attachment URLs into a group chat.
- Offering to give consent or tick homework.
References
references/worked-example.md: an evening digest turned into a family-chat message, annotated.references/edge-cases.md: not installed, no login, rate-limited, several children, holidays, hidden sections, write requests, a negative behaviour week, a failed check.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

