Back to skills
SKILL.md
GEO INFER COG
ASecurityHuman-centered geospatial cognitive modeling — spatial perception and attention, qualitative spatial reasoning, spatial memory, spatial language processing, cognitive maps, and human-centered decision support. Use when modeling how users perceive, reason about, remember, or decide about geographic space, or when building cognitively optimized geospatial interfaces.
- 17 stars
- 0 votes
- 0 copies
- 0 views
- Added September 1, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add ActiveInferenceInstitute/GEO-INFER --skill GEO-INFER-COG --agent claude-codeAre you the author of GEO INFER COG?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/activeinferenceinstitute-geo-infer-cog)---
name: geo-infer-cog
description: Human-centered geospatial cognitive modeling — spatial perception and attention, qualitative spatial reasoning, spatial memory, spatial language processing, cognitive maps, and human-centered decision support. Use when modeling how users perceive, reason about, remember, or decide about geographic space, or when building cognitively optimized geospatial interfaces.
prerequisites:
recommended:
- geo-infer-space
difficulty: advanced
estimated_time: 60min
examples_dir: ../GEO-INFER-EXAMPLES/examples/
---
# GEO-INFER-COG
## Instructions
### Core Capabilities
- **Cognitive processing pipeline**: perception → working memory → reasoning → memory consolidation → decision output
- **Spatial attention**: saliency-driven `AttentionModel` inside the perception stack
- **Qualitative spatial reasoning**: RCC-8 style relation inference over geometries
- **Spatial memory**: working / long-term / episodic memory with consolidation
- **Spatial language**: entity and relation extraction from geographic text
- **Cognitive maps**: landmark/route-based maps with cognitively distorted navigation paths
- **Decision support**: prospect-theory, cognitive-weighted, Bayesian, and multi-criteria frameworks
### Key Imports
```python
from geo_infer_cog import (
CognitiveProcessingEngine,
SpatialPerceptionModel,
SpatialReasoningEngine,
SpatialMemoryModel,
SpatialLanguageProcessor,
SpatialDecisionSupport,
CognitiveMap,
SpatialKnowledgeGraph,
UserCognitiveProfile,
ProfileManager,
)
```
## Examples
```python
from geo_infer_cog import CognitiveProcessingEngine
engine = CognitiveProcessingEngine() # deterministic by default (fixed-seed RNG)
result = engine.process_spatial_input(
spatial_data={
"type": "Feature",
"geometry": {"type": "Point", "coordinates": [-122.4, 37.8]},
"properties": {"name": "observation point"},
},
context={"task": "wayfinding"},
)
print(result["decision_result"]["decisions"])
```
```python
from geo_infer_cog import CognitiveMap
cmap = CognitiveMap("city_map", spatial_bounds={"bbox": [-123, 37, -122, 38]})
cmap.add_landmark("pier", {"type": "Point", "coordinates": [0.0, 0.0]},
{"name": "Pier"}, saliency=0.9)
cmap.add_route("pier_to_museum", "pier", "museum", segments=[], properties={})
path = cmap.get_navigation_path("pier", "museum")
```
## Guidelines
- Currently Alpha status; APIs may change between minor versions.
- All engines are deterministic by default: pass `rng=None` and results are reproducible for a fixed seed.
- Passive library logging via the `geo_infer_cog.*` loggers; no prints in library code.
- The REST API (`geo_infer_cog.api.rest_api`) requires the optional `api` extra (`flask`, `flask-cors`).
### Test
`uv run python GEO-INFER-TEST/run_unified_tests.py --module COG`
### Integrations
None: this module has no runtime imports of other GEO-INFER modules.Files in this skill
- AGENTS.md
- README.md
- SKILL.md
- docs/AGENTS.md
- docs/README.md
- docs/api_schema.yaml
- examples/AGENTS.md
- examples/README.md
- examples/__init__.py
- examples/cognitive_processing_demo.py
- examples/cognitive_wayfinding.py
- pyproject.toml
- requirements.txt
- setup.py
- src/AGENTS.md
- src/README.md
- src/geo_infer_cog/AGENTS.md
- src/geo_infer_cog/README.md
- src/geo_infer_cog/__init__.py
- src/geo_infer_cog/api/AGENTS.md
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.