Start Elasticsearch
Apps & Automationstart-elasticsearchStart Elasticsearch is an Agent Skill for apps & automation published in the dadoonet/fscrawler repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
This skill can help to start Elasticsearch locally, using start-local project from Elastic.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/dadoonet/fscrawler/blob/HEAD/.claude/skills/start-elasticsearch/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/start-elasticsearch, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Start Elasticsearch
Detailed instructions for the agent.
When to Use
- Use this skill when you need to start Elasticsearch locally before running integration tests. If Elasticsearch is already running, there's no need to use this skill.
Instructions
- Check with
curlthat Elasticsearch is running and accessible. By default, the cluster is expected to be running at http://localhost:9200 with the userelasticand the passwordchangeme. If you can connect to it, there's no need to start a new instance. - If not, run start-local project with:
curl -fsSL https://elastic.co/start-local | ES_LOCAL_PASSWORD="changeme" sh -s -- -v 9.3.1
-
Please run this command within the
IGNORE_MEdirectory of the project so it's never commited. -
Note that you can change the version, accordingly to the version of Elasticsearch you want to run. It's normally the one defined in the
pom.xmlfile of the project. See<elasticsearch.version>property for more details.