/censys:censys-viewfrom censys
Performs single-asset lookups via the Censys CLI for hosts, certificates, and web properties. Use when the user has a specific IP, hostname, or cert fingerprint.
Ships in censys. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user already has a specific asset in hand — an IP address, a hostname (with or without a port), or a certificate SHA-256 fingerprint — and wants the current (or a point-in-time) detailed record for it. Typical asks:
Do not use this for criteria-based search ("find hosts running X" — that's
censys-search), field aggregation/reporting (censys-aggregate), or historical
timelines and change detection across snapshots (censys-timeline, backed by
censys history). This skill covers a single-shot lookup of one or more known assets.
censys view <asset> [flags]
<asset> type is auto-detected:
| Input pattern | Resolved as |
|---|---|
IP address (e.g. 8.8.8.8) | Host |
hostname:port | Web property |
| bare hostname (no port) | Web property, defaults to port 443 |
| 64-character hex string | Certificate (SHA-256 fingerprint) |
Defanged IPs are accepted and normalized automatically, e.g. 8[.]8[.]8[.]8 →
8.8.8.8.
| Flag | Purpose |
|---|---|
--input-file <path> | Read one asset per line from a file instead of the CLI arg. Use - to read from stdin. |
--at-time, --at, -a <RFC3339> | Return the record as it existed at a specific point in time instead of the current snapshot. Not supported for certificates — certs are content-addressed and don't have a "point in time" state. |
Multiple assets can be passed comma-separated in a single invocation
(censys view 8.8.8.8,9.9.9.9), via --input-file, or piped through stdin.
See ${CLAUDE_SKILL_DIR}/references/cli-globals.md for the full global flags reference (output
format, streaming, diagnostics, org-id, and PAT vs OAuth notes).
# Basic host lookup
censys view 8.8.8.8
# Compact, human-scannable output instead of full JSON
censys view 8.8.8.8 -O short
# Web property lookup — bare hostname defaults to :443
censys view platform.censys.io
# Web property lookup — explicit port
censys view platform.censys.io:80
# Multiple assets in one call (comma-separated)
censys view 8.8.8.8,9.9.9.9
# Historical snapshot of a host at a specific time
censys view 8.8.8.8 --at-time <YYYY-MM-DDTHH:MM:SSZ>
# Certificate lookup by SHA-256 fingerprint
censys view 3daf2843a77b6f4e6af43cd9b6f6746053b8c928e056e8a724808db8905a94cf
# Bulk lookup from a file (one asset per line), streaming results out
censys view --input-file hosts.txt -S
# Bulk lookup from stdin
cat hosts.txt | censys view --input-file - -O short
censys view always wraps its JSON result in an array, even for a single asset — all jq paths must start with .[0]:
# Correct — index into the array first
censys view 8.8.8.8 -O json | jq '.[0].services[] | {port, protocol}'
# Wrong — this returns null
censys view 8.8.8.8 -O json | jq '.services[]'
tcp/udp), and
detected application protocol (e.g. HTTP, SSH, TLS). This is the primary
"what's running here" signal.autonomous_system.asn, autonomous_system.name) — identifies the
network operator/ISP hosting the asset. Useful for attributing infrastructure to
a hosting provider vs. an enterprise network.remote-access, database,
login-page. These are heuristic classifications, not guarantees; use them to
triage/prioritize, not as ground truth.json when the result will be parsed further (piped to jq, fed
into another tool, or when the user wants "raw data").-O short when a human just wants a quick read of what an asset is running
— it drops nested detail in favor of scannable summary lines.-O tree for visually inspecting nested structure (e.g. all services and
their sub-fields) without writing a jq filter.-O yaml when the user wants something diffable/readable but still
structured.-S (streaming) so results appear incrementally as NDJSON.
-S and -O cannot be combined — streaming is the output format.| Error | Cause | Resolution |
|---|---|---|
[Invalid Asset ID] | Input isn't a valid IP, hostname:port, bare hostname, or 64-char SHA-256 | Confirm the asset string — check for typos, stray whitespace, or a truncated hash |
[Invalid Timestamp] | --at-time value isn't valid RFC3339 | Reformat as YYYY-MM-DDTHH:MM:SSZ (or with an explicit UTC offset) |
[At-Time Not Supported] | --at-time was passed with a certificate asset | Drop --at-time for cert lookups, or use censys history if temporal cert data is genuinely needed |
If a lookup returns no record for a host/web property, that generally means Censys has no current scan data for that asset (it may be down, filtered, or simply unobserved) — this is distinct from an error and won't raise one of the above.
443. If the user means a different
port, they must specify it explicitly (hostname:8080).--at-time reconstructs the record as of that snapshot; it is not the same as
a diff or change log. For "what changed between two dates," use censys history
instead.view — a cert's fields (issuer,
validity window, SANs) are fixed by the cert itself, not by when Censys observed
it.censys history — see the censys-timeline skill.censys-search skill.censys-investigate skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub censys/censys-ai-skills --plugin censys9 skills in this plugin
/censys-aggregateUse when the user wants to aggregate, bucket, or count censys search results by field, censys break down results by field, censys top ports for a query, censys count by country, censys distribution of a field, or the equivalent of the Censys Platform Report Builder. Wraps the `censys aggregate` CLI subcommand. Trigger phrases include "censys aggregate," "censys break down by," "censys top ports for," "censys count by country," and "censys distribution of." Do not use for returning raw matching records (see censys-search) or for single-record lookup by identifier (see censys-view)./censys-analyzeUse when the user wants to do structured post-retrieval analysis on Censys CLI output — e.g. "censys analyze results," "analyze censys data," "censys jq," "query saved censys data," "censys batch certs," "cross-reference censys results," or "censys post-processing." Teaches saving CLI output to files, jq recipes for filtering/extraction, loading results into SQLite for SQL-style queries, batch certificate workflows, and cross-referencing multiple result sets. Not for generating the underlying data — see censys-search, censys-view, or censys-timeline for that./censys-cenqlUse when the user needs help with CenQL syntax, censys query syntax, how to write a censys query, what censys fields are available, or censys query help — field paths, operators, quoting/escaping rules, or example queries for hosts, certificates, and web properties. Trigger phrases include "CenQL syntax," "censys query syntax," "how do I write a censys query," "what censys fields are available," and "censys query help." Also fires when the user writes "CQL," a frequent misspelling of CenQL. This is a reference skill, not a CLI wrapper — defer to censys-search, censys-aggregate, or censys-view to actually execute the query once it's constructed./censys-censeyeUse when the user wants to run censys censeye, censys pivot analysis, censys rarity analysis, censys find related infrastructure, or run censeye on a host. Wraps the `censys censeye` CLI subcommand to analyze a single host and generate pivotable threat-hunting queries bounded by rarity (how many other hosts share each attribute). Trigger phrases include "censys censeye," "censys pivot analysis," "censys rarity analysis," "censys find related infrastructure," and "run censeye on." Requires Threat Hunting feature access on the organization. Not for criteria-based search (see censys-search) or single-record point lookups (see censys-view)./censys-enrichUse when the user wants fast, credit-free IP context for SOC/triage work via the Censys CLI — e.g. "censys enrich," "censys enrich this IP," "censys bulk enrich," "censys triage IP," "censys SOC lookup," "is this IP interesting per censys," "censys check this IP for scanning activity," or "censys reputation on this address." Wraps `censys enrich` for single/bulk IP enrichment (location, AS, WHOIS, DNS, labels, GreyNoise, reputation, network/privacy classification, third-party verdicts). Not for full host records with all services and raw banners (see censys-view) or criteria-based search (see censys-search)./censys-investigateUse when the user explicitly requests a multi-step Censys investigation — e.g. "censys investigate," "censys deep dive into," "trace this infrastructure with censys," "censys pivot chain," "full censys investigation," "hunt for related infrastructure," or "/censys-investigate." This is a heavyweight methodology skill (typically 20–50+ API calls) — do NOT fire on simple lookups like "what's running on this IP" or "profile this host" (use censys-view for those). Structured as a baseline collection phase followed by decision trees that branch on what the baseline reveals. Prescribes a findings template and data preservation convention. Always confirms scope and estimated cost with the user before starting.Other plugins' skills for the same job