agentleFS
m0nkmasterm0nkmaster/agent-skills/classdojo/SKILL.md

classdojo

Skill2 starsChanged 8 months agoMITView on GitHub

Query ClassDojo parent portal. Use for school messages, teacher communications, class stories, student progress, calendar events, or anything ClassDojo-related. Triggers on "ClassDojo", "school message", "teacher message", "how is [student] doing", "class story", "school app".

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. iblai/k-12-agents★ 9same 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 repository5 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When user asks ANYTHING about ClassDojo:

    line 12
  2. Very specific:

    If NOT authenticated: Ask user for email/password, then run: cd ~/.cursor/skills/classdojo && python3 scripts/cli_login.py --email "EMAIL" …

    line 15
  3. Distinctive:

    Make API call: Use commands from the table below

    line 16
  4. Distinctive:

    When user provides credentials, execute (replace with actual values):

    line 40
  5. Distinctive:

    If successful: "Logged in.

    line 45
  6. Very specific:

    If failed: Tell user credentials didn't work, ask them to try again If stderr mentions the 6-digit code / HTTP 401 after correct password: …

    line 46
  7. Very specific:

    If stderr mentions the 6-digit code / HTTP 401 after correct password: ClassDojo emailed an OTP — ask for the code, then run the same …

    line 47
  8. Very specific:

    When a code is required, this returns 401 (response may include rate-limit headers such as remaining-attempts, retry-after).

    line 53
  9. Very specific:

    Python3 is installed: - always use python3 in commands

    line 97
  10. Distinctive:

    You execute the commands: - don't ask the user to run them

    line 98
  11. Distinctive:

    Never echo passwords: - use them in commands but don't show in responses

    line 99
  12. Distinctive:

    Session persists: - after login, the session file is created automatically

    line 100
  13. Distinctive:

    Always check auth first: - never skip step 1

    line 101

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

ClassDojo Parent Portal

This skill queries the ClassDojo parent portal API.

⚡ QUICK START (For AI)

When user asks ANYTHING about ClassDojo:

  1. Run auth check: cd ~/.cursor/skills/classdojo && python3 scripts/client.py session-check
  2. If NOT authenticated: Ask user for email/password, then run: cd ~/.cursor/skills/classdojo && python3 scripts/cli_login.py --email "EMAIL" --password "PASSWORD" (add --code "123456" if they were emailed a 6-digit OTP — see Email OTP (new location) below)
  3. Make API call: Use commands from the table below
  4. Parse JSON and respond conversationally

CRITICAL: You (the AI) run these commands. Python3 IS installed. Do NOT ask the user to run commands.

CRITICAL: How to Handle Any Request

For EVERY ClassDojo request, follow this exact workflow:

1. Check Auth Status (ALWAYS DO THIS FIRST)

Execute:

cd ~/.cursor/skills/classdojo && python3 scripts/client.py session-check

Interpret the result:

  • Output contains "authenticated": true → Go to step 3
  • Output contains "authenticated": false or any error → Go to step 2

2. Login If Needed

Say to user: "I need your ClassDojo email and password to access your account."

When user provides credentials, execute (replace with actual values):

cd ~/.cursor/skills/classdojo && python3 scripts/cli_login.py --email "USER_PROVIDED_EMAIL" --password "USER_PROVIDED_PASSWORD"

If successful: "Logged in. Session saved..." appears → Go to step 3
If failed: Tell user credentials didn't work, ask them to try again
If stderr mentions the 6-digit code / HTTP 401 after correct password: ClassDojo emailed an OTP — ask for the code, then run the same command with --code "THE_CODE" (or set CLASSDOJO_OTP_CODE)

Email OTP (new location / device)

  1. Password step: POST https://home.classdojo.com/api/session?duration=long with JSON
    {"login":"<email>","password":"<password>","resumeAddClassFlow":false}
    When a code is required, this returns 401 (response may include rate-limit headers such as remaining-attempts, retry-after).
  2. OTP step: POST https://teach.classdojo.com/api/session?duration=long with JSON
    {"login":"<email>","password":"<password>","code":"<6-digit>"}
    On success (200), session cookies are issued like a normal login.

The parent portal UI strings for this flow live in home.classdojo.com locale pack packages-one-time-codes (e.g. “Enter the 6-digit code”, “We sent a one-time code to your email address”). Optional account MFA is a separate concept (GET /api/parent/{id}/mfa); this OTP is not the same as enabled TOTP MFA.

CLI: python3 scripts/cli_login.py --email "…" --password "…" --code "123456"

3. Make API Request

Execute the appropriate command from the table below.

API Commands Reference

User RequestExact Command to Execute
"Any messages?"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/parent/5ec3b7790dfcbc1819952ec4/message-thread/page?limit=20"
"What's new?" / "Class stories"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/storyFeed?withStudentCommentsAndLikes=true&withSyntheticPosts=true"
"How is Alice?"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/storyFeed?withStudentCommentsAndLikes=true&withSyntheticPosts=true&studentId=5e7c84d75f8f36d133eddf0e"
"How is Bob?"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/storyFeed?withStudentCommentsAndLikes=true&withSyntheticPosts=true&studentId=5eec913e1634abe97e805598"
"Calendar" / "Events"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/parentCalendarEvent?hidePastEvents=false"
"Alice's info"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/parent/5ec3b7790dfcbc1819952ec4/student/5e7c84d75f8f36d133eddf0e"
"Dashboard"cd ~/.cursor/skills/classdojo && python3 scripts/client.py "/parent/5ec3b7790dfcbc1819952ec4/dashboard"

Response Format

Parse the JSON output and respond like:

  • Messages: "New message from [Name] ([time]): '[preview]'"
  • Stories: "[Teacher] posted: '[content]' ([X] photos, [Y] likes)"
  • Calendar: "Upcoming: [Event] - [Date] at [Time]"

Error Handling

ErrorAction
"Session expired" or 401Go back to step 2, login again (use --code if ClassDojo emails an OTP), then retry step 3
"No session found"Go to step 2 and login
Empty JSON/array"No [items] found right now"
Any HTTP error"ClassDojo is temporarily unavailable"

Important Notes

  • Python3 is installed - always use python3 in commands
  • You execute the commands - don't ask the user to run them
  • Never echo passwords - use them in commands but don't show in responses
  • Session persists - after login, the session file is created automatically
  • Always check auth first - never skip step 1

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.