Skip to content
Back to skills

GEO INFER COG

ASecurity

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.

  • 17 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 1, 2026
ai-agentspythonflaskapi

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned September 22, 2026

npx -y skills add ActiveInferenceInstitute/GEO-INFER --skill GEO-INFER-COG --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of GEO INFER COG?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for GEO INFER COG
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/activeinferenceinstitute-geo-infer-cog/badge)](https://www.skillsdirectory.com/skills/activeinferenceinstitute-geo-infer-cog)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.5 KB
  • README.md1.2 KB
  • SKILL.md1.5 KB
  • docs/AGENTS.md1.1 KB
  • docs/README.md712 B
  • docs/api_schema.yaml28.3 KB
  • examples/AGENTS.md1.2 KB
  • examples/README.md1.3 KB
  • examples/__init__.py1 KB
  • examples/cognitive_processing_demo.py20.2 KB
  • examples/cognitive_wayfinding.py6.8 KB
  • pyproject.toml3.1 KB
  • requirements.txt92 B
  • setup.py1.4 KB
  • src/AGENTS.md1.1 KB
  • src/README.md709 B
  • src/geo_infer_cog/AGENTS.md1.2 KB
  • src/geo_infer_cog/README.md827 B
  • src/geo_infer_cog/__init__.py2.5 KB
  • src/geo_infer_cog/api/AGENTS.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.