prepspsc-pyq
Use when the user asks about Indian competitive exam preparation, Sikkim PSC (SPSC) questions, previous year questions (PYQ), mock test generation, exam pattern practice, or needs reference questions for AI-powered question generation. Invoke for SPSC exam prep, PYQ search, mock tests, subject-wise practice, or studying for government job exams in India.
Install
mkdir -p .claude/skills/prepspsc-pyq && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8293" && unzip -o skill.zip -d .claude/skills/prepspsc-pyq && rm skill.zipInstalls to .claude/skills/prepspsc-pyq
About this skill
PrepSPSC PYQ API
Search 7,400+ real previous year questions from Sikkim PSC (SPSC) exams and generate mock tests across 64 exam patterns. Returns MCQ questions with options, correct answers, explanations, topics, cognitive levels, and difficulty metadata.
Quick Reference
| Detail | Value |
|---|---|
| Base URL | https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api |
| Auth | Authorization: Bearer sk_live_YOUR_KEY |
| Questions | 7,442 across 27 subjects |
| Exam Patterns | 64 (Civil Services, Police, Medical, Engineering, Education, IT, and more) |
| Get API Key | prepspsc.com/developers |
Authentication
All requests require a Bearer token in the Authorization header. API keys start with sk_live_.
Check Existing Setup First
Before guiding the user through setup, check if the API key is already available:
if [ -n "$PREPSPSC_API_KEY" ]; then
echo "Configured"
else
echo "No API key found. Get one at https://prepspsc.com/developers"
fi
If no key is found, direct the user to https://prepspsc.com/developers to generate a free API key.
Making Requests
curl -X POST "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "fundamental rights", "subject": "Indian Polity", "limit": 5}'
Endpoints
1. List Available Subjects
GET /pyq-api — Returns all subjects with question counts. Call this first to see what's available.
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
Response:
{
"subjects": [
{ "subject": "Indian Polity", "count": 842 },
{ "subject": "History", "count": 756 },
{ "subject": "General Knowledge", "count": 698 }
],
"total_questions": 7442
}
Available subjects: General English, General Knowledge, Indian Polity, History, Geography, Science, Environment, Indian Economy, Arithmetic and Logical Reasoning, Agriculture, Botany, Zoology, Nepali Literature, Current Affairs, and more (27 total).
2. Search Questions (Semantic Search)
POST /pyq-api — Search PYQs using natural language. Uses vector similarity + keyword hybrid matching.
curl -X POST "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "Fundamental Rights Article 21",
"subject": "Indian Polity",
"limit": 5,
"threshold": 0.3
}'
| Field | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Natural language search (min 3 chars) |
subject | string | Yes | Subject to search within |
limit | integer | No | Max results, 1-20 (default: 5) |
threshold | number | No | Min similarity 0-1 (default: 0.3, lower = more results) |
year_min | integer | No | Exclude time-sensitive questions older than this year |
exclude_ids | string[] | No | Question UUIDs to exclude (for pagination) |
Response:
{
"questions": [
{
"id": "uuid",
"question": "Which Article of the Indian Constitution guarantees the Right to Life?",
"options": [
{ "id": "a", "text": "Article 14" },
{ "id": "b", "text": "Article 19" },
{ "id": "c", "text": "Article 21" },
{ "id": "d", "text": "Article 32" }
],
"correct_option_id": "c",
"explanation": "Article 21 states that no person shall be deprived of his life or personal liberty...",
"subject": "Indian Polity",
"topics": ["Fundamental Rights", "Article 21", "Right to Life"],
"difficulty": "easy",
"cognitive_level": "remember",
"is_time_sensitive": false,
"high_yield": true,
"similarity": 0.89
}
],
"count": 5
}
3. Generate Mock Test
POST /pyq-api/mock-test — Generate a complete mock test following real SPSC exam patterns with difficulty balancing.
curl -X POST "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/mock-test" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pattern": "undersecretary-prelims",
"difficulty_mix": { "easy": 30, "medium": 50, "hard": 20 }
}'
| Field | Type | Required | Description |
|---|---|---|---|
pattern | string | Yes | Exam pattern ID (64 available, see below) |
difficulty_mix | object | No | Custom difficulty % (default: 30/50/20) |
year_min | integer | No | Exclude stale current affairs |
exclude_ids | string[] | No | Skip questions from previous tests |
Response includes: test metadata (name, total questions, duration, marking scheme) + sections with difficulty-balanced questions.
Available Exam Patterns (64 Total)
Core / General: undersecretary-prelims, general-prelims, spsc-mains-gs1, spsc-mains-gs2, quick-practice-30
Civil Services: sscs-prelims, combined-mains-gs3, combined-mains-english
Police / Law: si-police-prelims, si-police-mains, si-excise, sub-jailer
Fire Service: sub-fire-officer
Engineering: junior-engineer-prelims, assistant-engineer-civil, assistant-engineer-electrical, assistant-engineer-mechanical, assistant-engineer-agriculture
Medical / Health: gdmo, veterinary-officer, dental-surgeon, specialist-sr-grade, staff-nurse, paramedical, health-educator, mphw, drug-inspector, food-safety-officer, pharmacist-ayush, yoga-instructor-ayush, scientific-officer-ayush, tutor-clinical-instructor
Administrative: ldc-prelims, accounts-clerk, stenographer, cooperative-inspector, statistical-inspector, revenue-inspector, revenue-surveyor, commercial-tax-inspector
Forestry / Fisheries: forest-ranger-prelims, fisheries-officer, assistant-director-fisheries, livestock-assistant
Education: lecturer-diet, iti-instructor, principal-iti, assistant-professor-sheda
Other Specialized: assistant-town-planner, assistant-architect, assistant-geologist, digital-analyst, assistant-programmer, assistant-director-it, lab-assistant, field-assistant, ado-wdo-hdo, senior-information-assistant, sub-editor, inspector-legal-metrology, photographer, script-writer, feed-mill-operator, printing-stationery
Use GET /pyq-api/patterns to get full details with subject distribution, duration, and marking scheme for each pattern.
4. List Exam Patterns
GET /pyq-api/patterns — Returns all 64 exam patterns with subject distribution, question counts, duration, and marking scheme.
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/patterns" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
5. Record Progress
POST /pyq-api/progress — Record a user's answer to a question.
curl -X POST "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/progress" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"external_user_id": "user123",
"question_id": "uuid-here",
"selected_option": "c",
"is_correct": true,
"time_spent_seconds": 45
}'
6. Get User Progress
GET /pyq-api/progress?user_id=user123 — Retrieve a user's complete answer history.
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/progress?user_id=user123" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
7. Performance Analytics
GET /pyq-api/analytics?user_id=user123 — Get accuracy by subject, difficulty breakdown, and recent activity.
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/analytics?user_id=user123" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
8. Leaderboard
GET /pyq-api/leaderboard — Rankings by correct answers and accuracy.
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/leaderboard?limit=20&time_range=all_time" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | integer | 20 | Max entries (1-100) |
time_range | string | all_time | week, month, or all_time |
9. Bookmarks
Add bookmark:
curl -X POST "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/bookmarks" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"external_user_id": "user123", "question_id": "uuid-here", "note": "Review later"}'
List bookmarks:
curl "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/bookmarks?user_id=user123" \
-H "Authorization: Bearer $PREPSPSC_API_KEY"
Remove bookmark:
curl -X DELETE "https://qqqditxzghqzodvauxth.supabase.co/functions/v1/pyq-api/bookmarks" \
-H "Authorization: Bearer $PREPSPSC_API_KEY" \
-H "Content-Type: application/json" \
-d '{"external_user_id": "user123", "question_id": "uuid-here"}'
Common Workflows
Quick Practice Session
GET /pyq-api— Check available subjectsPOST /pyq-api/mock-testwith"pattern": "quick-practice-30"— Get a 30-question test- Present questions to user one at a time
POST /pyq-api/progress— Record each answerGET /pyq-api/analytics?user_id=xxx— Show performance summary
Subject-Specific Study
POST /pyq-api— Search for questions on a specific topic (e.g.,"query": "Fundamental Rights","subject": "Indian Polity")- Present questions as flashcards or quiz
- Track progress with
POST /pyq-api/progress
Full Mock Exam
GET /pyq-api/patterns— Show available exam patterns- User picks a pattern (e.g., `undersecretary-
Content truncated.
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
fastapi-templates
wshobson
Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.
Related MCP Servers
Browse all serversSend customizable push notifications for websites using Ntfy, a web push service for cloud messages and real-time task a
Enhance productivity with customizable audio notifications in your development environment. Ideal for game dev softwares
HeyOnCall sends automated phone notifications via a hosted paging service to alert on-call teams when long-running tasks
Build persistent semantic networks for enterprise & engineering data management. Enable data persistence and memory acro
Enhance software testing with Playwright MCP: Fast, reliable browser automation, an innovative alternative to Selenium s
Supercharge browser tasks with Browser MCP—AI-driven, local browser automation for powerful, private testing. Inspired b
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.