Install
$ agentstack add skill-pinakdhabu-exam-prompt-lab-report-writer ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Universal Lab Report Writer
Overview
Generates structured, submission-ready lab reports for any course, any department, any university. Each report follows the target university's prescribed format and includes all standard sections with appropriate technical depth, diagrams, tables, and calculations.
How This Skill Works
- User provides: Subject, experiment name/number, university and course, lab manual or
experiment description, any specific format requirements
- System identifies: The correct lab report template for the target university
- System generates: Complete report with all sections filled with relevant content
- System calibrates: Technical depth, notation, and format to match university standards
1. Lab Report Templates
Template A — Engineering Lab (Moore Method)
Used by: Most Indian engineering universities (SPPU, VTU, JNTU, Mumbai, AKTU, RGPV)
| Section | Content | Length | | --------------------- | ---------------------------------------------------------- | ---------- | | Experiment No. | Sequential number | 1 line | | Title | Experiment name as in syllabus | 1 line | | Date | Date of performance | 1 line | | Aim | Concise statement of objective | 1-2 lines | | Apparatus | Equipment and components list with specifications | Table | | Theory | Brief concept explanation, formulas, circuit/block diagram | 1-2 pages | | Procedure | Step-by-step experimental procedure | 1 page | | Observation Table | Tabulated readings with headings and units | 1 page | | Calculations | Sample calculations for one reading set | 1-2 pages | | Result | Final output/observation statement | 1-2 lines | | Conclusion | What was learned, inference from results | 5-10 lines | | Viva Questions | Common viva questions with answers | 5-10 Q&A |
Template B — Science Lab (Physics/Chemistry/Biology)
| Section | Description | | ------------------------- | ------------------------------------------------------ | | Aim | Objective statement | | Apparatus / Materials | Equipment and chemicals list | | Theory / Principle | Underlying scientific principle with relevant formulas | | Setup Diagram | Labeled experimental setup | | Procedure | Stepwise method | | Observations | Raw data table | | Calculations | Formula application with sample calculation | | Result | Statement of findings | | Precautions | Safety and accuracy measures | | Sources of Error | Known error sources |
Template C — Research Lab / Advanced
| Section | Description | | --------------------- | ----------------------------------------------------------------- | | Abstract | Concise summary (150-250 words) | | Introduction | Background, motivation, objectives | | Methodology | Experimental design, materials, methods | | Setup / Apparatus | Detailed description with schematics | | Procedure | Step-by-step protocol | | Results | Data presented in tables and graphs (no interpretation) | | Discussion | Interpretation of results, comparison with theory, error analysis | | Conclusion | Summary of findings and significance | | References | Cited sources in proper format | | Appendix | Raw data, calculations, additional figures |
Template D — Medical / Clinical Lab
| Section | Description | | ------------------------ | -------------------------------------- | | Patient/Subject Info | Anonymized demographics | | Objective | Clinical question being investigated | | Sample Description | Type, collection method, handling | | Method / Protocol | Standard operating procedure followed | | Observations | Clinical observations and measurements | | Results | Test results with normal ranges | | Interpretation | Clinical significance of results | | Conclusion | Diagnosis or inference |
Error Analysis & Uncertainty Propagation
Types of Errors
| Error Type | Description | Example | Mitigation | | -------------- | -------------------------------- | -------------------------------------------- | ---------------------------------------- | | Systematic | Consistent bias in one direction | Calibrated instrument reads 0.5 g too high | Calibration, correction factors | | Random | Unpredictable fluctuations | Slight timing variations in manual stopwatch | Multiple readings, statistical averaging | | Gross | Blunders or mistakes | Misreading scale, recording wrong value | Careful procedure, peer verification |
Propagation of Uncertainty
For a function f(x, y, ...) with measured variables x, y, ... having uncertainties δx, δy, ...:
δf = √((∂f/∂x · δx)² + (∂f/∂y · δy)² + ...)
Common special cases:
| Operation | Uncertainty Formula | | -------------------- | --------------------------- | | f = x ± y | δf = √(δx² + δy²) | | f = c·x (c constant) | δf = \|c\| · δx | | f = x·y or f = x/y | δf/f = √((δx/x)² + (δy/y)²) | | f = xⁿ | δf/f = \|n\| · δx/x |
Percentage Error and Significant Figures
- Percentage error: (\|measured - true\| / true) × 100%
- Relative error: δx / x
- Significant figures rule: Result should have same number of decimal places as the least
precise measurement
- Final uncertainty: Round to 1 significant figure; match result precision to uncertainty
Sample Calculation with Uncertainty
Measurement: Length l = 15.2 ± 0.1 cm, Width w = 8.5 ± 0.1 cm
Area A = l × w = 15.2 × 8.5 = 129.2 cm²
δA/A = √((δl/l)² + (δw/w)²) = √((0.1/15.2)² + (0.1/8.5)²)
= √((0.00658)² + (0.01176)²)
= √(0.0000433 + 0.0001383)
= √0.0001816 = 0.01348
δA = A × (δA/A) = 129.2 × 0.01348 = 1.74 cm²
Result: A = 129.2 ± 1.7 cm²
Percentage uncertainty: (1.74/129.2) × 100% = 1.35%
2. Diagram Support
The system generates descriptions of diagrams that should be included:
- Circuit diagrams (engineering): Component symbols, connections, labels
- Block diagrams (systems): Functional blocks with data flow
- Graphs (data): Labeled axes with plotted data points
- Flowcharts (procedures): Step-by-step process visualization
- Schematic diagrams (equipment): Labeled parts and connections
Diagram descriptions are provided in text form suitable for drawing by the student or rendering as Mermaid.
3. Sample Lab Report Output
User: Generate lab report for "Full Wave Rectifier" experiment for SPPU SE E&TC.
Experiment No: 4
Title: Full Wave Rectifier
Date: [Date of performance]
Aim: To construct a full wave rectifier circuit using center-tapped transformer
and bridge configuration, and to observe input/output waveforms.
Apparatus:
| Sr. No. | Component | Specification | Quantity |
|---------|-----------|---------------|----------|
| 1 | Step-down transformer | 230V/12V-0-12V, 500mA | 1 |
| 2 | Diodes | 1N4007 | 4 |
| 3 | Resistor | 1k ohm, 1/4W | 1 |
| 4 | Capacitor | 100 microF, 25V | 1 |
| 5 | CRO | Dual trace, 20MHz | 1 |
| 6 | Breadboard | - | 1 |
| 7 | Connecting wires | - | As required |
Theory:
A full wave rectifier converts both halves of the AC input cycle to DC output.
Two configurations are common: center-tapped transformer with 2 diodes and
bridge rectifier with 4 diodes. The bridge configuration does not require
a center-tapped transformer.
Average DC output voltage: Vdc = 2Vm / pi
Ripple factor (without filter): gamma = 0.48
Ripple factor (with capacitor filter): gamma = 1/(4*sqrt(3)*f*R*C)
... (full report continues)
Session Config
This skill integrates with the session config system (deps/session-profile.json). Before executing, check for an existing session profile:
- If
deps/session-profile.jsonexists, readuniversity,subject,pattern, andexam_type
fields to auto-configure the skill.
- If the file does not exist, fall back to user-provided context or prompt the user to run
setup-exam-prompt (or npm run init) first.
- Session config eliminates redundant context detection — detection happens once and is reused
across all skill calls.
Error Handling
| Situation | Action | | ----------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | Experiment description insufficient | Respond: "Please provide the experiment name/number, aim, and any available lab manual or procedure description." | | University format not recognized | Fall back to Template A (Engineering Lab - Moore Method) and note the assumption | | Calculation data missing | Flag missing observations; request raw data before proceeding with calculations | | Unit mismatch in measurements | Auto-detect and convert to consistent unit system; flag conversion in notes | | Template field mapping failure | Log unrecognized fields and map to nearest standard section |
Quality Gate — Check Before Output
- [ ] All standard sections (Aim, Apparatus, Theory, Procedure, Observations, Calculations, Result,
Conclusion) are present
- [ ] Calculations show at least one sample calculation with correct significant figures
- [ ] Error analysis included for any experiment involving measurements
- [ ] Units are consistently used and correctly formatted
- [ ] Diagrams described where applicable (circuit, setup, graph, or flowchart)
- [ ] Viva questions section includes at least 5 questions with answers
4. Integration with Other Skills
| Skill | Integration | | ------------------------------------- | ----------------------------------------------------------------- | | universal-session-config | Reads university/subject/pattern from session profile | | universal-a-plus-answer-writer | Provides extended theoretical explanations for the theory section | | universal-viva-oral-exam-prep | Generates viva questions and answers for the viva section | | universal-formula-sheet-generator | Derives and formats formulas for the calculations section | | universal-pyq-analyzer | Supplies commonly asked viva questions from past exams |
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: pinakdhabu
- Source: pinakdhabu/Exam-prompt
- License: MIT
- Homepage: https://pinakdhabu.github.io/Exam-prompt/
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.