spector
  • User Guide
  • Reference

Skills

A skill is a package of structured files that teaches an AI coding agent how to work with a specific tool or framework. The skill below was generated by Great Docs from this project’s documentation. Install it in your agent and it will be able to run commands, edit configuration, write content, and troubleshoot problems without step-by-step guidance from you.

Any agent — install with npx:

npx skills add https://coady.github.io/spector/

Codex / OpenCode

Tell the agent:
Fetch the skill file at https://coady.github.io/spector/skill.md and follow the instructions.

Manual — download the skill file:

curl -O https://coady.github.io/spector/skill.md

Or browse the SKILL.md file.

SKILL.md

---
name: spector
description: >
  Sparse vectors. Use when writing Python code that uses the spector package.
license: Apache-2.0
compatibility: Requires Python >=3.11.
---

# spector

Sparse vectors.

## Installation

```bash
pip install spector
```

## API overview

### Classes

- `indices`: A sparse boolean array, i.e., set of indices
- `vector`: A sparse array of index keys mapped to numeric values
- `matrix`: A sparse vector of vectors

### Functions

- `groupby`: Generate unique keys with associated groups

## Resources

- [Full documentation](https://coady.github.io/spector/)
- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs

Developed by A. Coady.
Site created with Great Docs.