# Learnharness

> Read and analyze local LearnHarness records to understand a learner's reasoning, confidence, and knowledge graph.

Learnharness is a free AI agent skill on Agensi by Tân Thanh, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Tân Thanh](https://www.agensi.io/creators/t-n-thanh)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/learnharness
- Tags: ai-agents, python, education-data, knowledge-graph, jsonl

## About this skill

Working with a learner requires more than knowing if they got an answer right. Standard LMS exports often strip out the most valuable data: the learner's self-reported confidence, their "thinking out loud" process, and the specific reasoning chains that connect concepts. Without this context, you cannot tell if a student is guessing or applying a solid mental model.

### What it does
- **Extracts learner thinking** to retrieve explanations, uncertainty, and reactions typed or dictated during lessons.
- **Maps knowledge graphs** to view propositions and reasoning chains extracted from teaching sessions and notes.
- **Analyzes session history** by indexing complete teaching and practice records, including teacher prose and learner attempts.
- **Traces provenance** by connecting specific propositions back to their original source sessions or message IDs.
- **Filters operational noise** to focus on meaningful prose while optionally including agent reasoning or tool calls.

### How it works
1. Use `sessions.py list` to index available teaching and practice history from the local LearnHarness data directory.
2. Run `sessions.py read` on a specific chat ID to retrieve the full learner reasoning and session context.
3. Query the knowledge graph using `graph.py find` or `propositions` to locate specific concepts and their premises.
4. Cross-reference graph nodes with their provenance IDs to see exactly when and how a concept was first encountered.

### Frameworks & tools
Built for Python 3.10+ using only the standard library. It reads local JSON and JSONL files directly from the LearnHarness data folder on macOS, Windows, and Linux.

### Why this beats prompting it yourself
Writing reliable parsers for nested JSONL learning records and graph provenance is error-prone. This skill handles the specific schemas of LearnHarness v1, manages OS-specific data paths, and correctly distinguishes between teacher-authored solutions and actual learner responses.

### Use cases
- Personalize explanations by identifying which concepts a learner already mastered in the graph.
- Debug learning gaps by reviewing the "thinking" channel for sessions with low self-reported confidence.
- Generate progress reports that focus on reasoning chains rather than just binary pass/fail scores.
- Connect ideas across disparate subjects by tracing shared propositions in the knowledge graph.

### Known limitations
Does not support network requests or modifying existing data. Cannot read newer data formats beyond v1 or execute binary/visual artifacts like SVG or HTML.

## Requires

- Python

## Known limitations

Read-only access only. Supports LearnHarness data format v1. Does not execute stored code or open external URLs/files referenced in notes.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Learnharness skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does Learnharness provide better insights than a standard LMS data export?

This skill provides deep access to the 'thinking out loud' process and confidence levels stored in LearnHarness records, which standard LMS exports usually ignore. It allows an agent to understand not just if a learner was correct, but the specific reasoning and mental models they used to get there.

### Which AI agents and operating systems are compatible with this skill?

The skill is built for Python 3.10+ and is designed to work with any AI agent capable of executing local Python scripts. It is cross-platform, supporting LearnHarness data directories on macOS, Windows, and Linux.

### What is included in the download and what does the setup process involve?

You receive the `sessions.py` and `graph.py` scripts which handle indexing, reading, and graph querying, along with documentation on how to point the skill to your local LearnHarness data folder. No external API keys or network configurations are required.

### Can this skill identify exactly when a learner first mastered a specific concept?

The skill uses the `graph.py` tool to locate specific concepts and their premises, then uses provenance IDs to link those concepts back to the exact message ID or session where they originated. This allows you to verify the source of any knowledge claim.

### Does Learnharness allow the AI agent to modify or update my local learning records?

No, this is a read-only analysis tool designed to index and interpret existing records. It cannot modify your LearnHarness data, send network requests, or execute visual artifacts like SVGs or HTML files.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
