AI Skills

censys-ai-skills is a public, Censys-owned repo that contains skills, hooks, helper scripts, tests, and more that leverage the cencli Platform CLI tool. These skills can be added to Claude Code and other AI tools. The skills add the ability to look up assets, run searches, create aggregations, execute pivot analysis jobs, and more.

The censys-ai-skills GitHub repo always contains the most up-to-date information about how to install and use the skills. This document contains general instructions for setup.

Prerequisites

  • Install and configure cencli prior to installing censys-ai-skills.
    • censys-ai-skills requires version 1.0 or newer of cencli.
  • To use censys-censeye or retrieve certificate history, your organization must have access to the Adversary Investigation module.

Installation

Installation instructions for Claude Code and other tools are provided below. The skills are standalone markdown files that work with any AI coding assistant that supports custom instructions. The Claude Code plugin system handles skill loading and path resolution automatically. Other tools require manual setup.

Run the following commands to install censys-ai-skills.

claude plugin marketplace add censys/censys-ai-skills
claude plugin install censys

Notes for non-Claude Code harnesses

  • Path variables: Skills reference files using ${CLAUDE_SKILL_DIR} and ${CLAUDE_PLUGIN_ROOT}. These are Claude Code-specific. On other harnesses, resolve them relative to the skill folder and repo root respectively. The model can typically infer the correct paths from context.
  • Scripts: The scripts/ directory contains shell helpers censys-count.sh, censys-export.sh, censys-to-sqlite.sh). These work on any harness with bash access. Reference them by their path relative to the repo root.
  • Hooks: The hooks/ directory provides advisory warnings for Claude Code's hook system. Other harnesses can ignore this directory.
  • Skill content: The methodology, CenQL syntax, CLI flags, and operational caveats in each skill are plain markdown. They work as reference material regardless of the harness.

Skills included in the repo

The following skills and tools are included in the censys-ai-skills repo.

LayerSkillsDescription
Command skillcensys-searchSearch Censys data with CenQL queries.
Command skillcensys-viewView (look up) hosts, certificates, and web properties.
Command skillcensys-aggregateAggregate results by field. Equivalent to the Report Builder.
Command skillcensys-enrichCredit-free IP enrichment for SOC triage.
Command skillcensys-censeyePivot analysis with rarity bounds.
Command skillcensys-timelineTemporal analysis, change detection, and attribution boundaries.
Reference toolcensys-cenqlQuery language syntax, field paths, operators, known noise. Consulted by other skills when constructing queries.
Methodology and analysiscensys-investigateInvestigation methodology, pivoting patterns, and multi-step workflows.
Methodology and analysiscensys-analyzePost-retrieval analysis: jq recipes, SQLite, batch certs, and cross-referencing.

Skills reference each other via cross-reference sections. A methodology skill like censys-investigate will call out to censys-search for pivot queries, censys-timeline for historical analysis, and censys-cenql for field path lookups. The command wrappers are self-contained and can be used independently for one-off tasks.

Censys Credit costs

Each skill wraps one or more cencli subcommands. Most cencli commands will deduct at least one credit from your balance. More credits are consumed if pagination is involved. The censys-investigate tool can invoke 10 to 50 or more calls depending on input. Reference the documentation in GitHub for more information on credit estimates and how to limit credit expenditure.



Did this page help you?